mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
allow for gd '*' when parsing server response
This commit is contained in:
parent
b2ced73010
commit
a673fda267
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ Result<ServerModVersion> ServerModVersion::parse(matjson::Value const& raw) {
|
|||
|
||||
// Verify target GD version
|
||||
auto gd = root.needs("gd").obj().needs(GEODE_PLATFORM_SHORT_IDENTIFIER).template get<std::string>();
|
||||
if (gd != GEODE_GD_VERSION_STR) {
|
||||
if (gd != GEODE_GD_VERSION_STR && gd != "*") {
|
||||
return Err(
|
||||
"Mod targets GD version {} but current is version {}",
|
||||
gd, GEODE_GD_VERSION_STR
|
||||
|
|
Loading…
Reference in a new issue