mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
oops
This commit is contained in:
parent
f7a3947c06
commit
e6cd66aee7
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ Result<ModMetadata> ModMetadata::Impl::create(ModJson const& json) {
|
|||
// Check GD version
|
||||
if (json.contains("gd")) {
|
||||
std::string ver;
|
||||
if (json["gd"].is_string() && json["gd"].as_string() != GEODE_STR(GEODE_GD_VERSION)) {
|
||||
if (json["gd"].is_string()) {
|
||||
ver = json["gd"].as_string();
|
||||
} else if (json["gd"].is_object()) {
|
||||
std::string key;
|
||||
|
|
Loading…
Reference in a new issue