Skip to content

Commit

Permalink
my mod uses -1 for this
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 6, 2017
1 parent 6fca44f commit 55b31d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/GameModel.cpp
Expand Up @@ -664,7 +664,7 @@ void GameModel::SetSave(SaveInfo * newSave)
}
// This save was probably just created, and we didn't know the ID when creating it
// Update with the proper ID
else if (saveData->authors.get("id", -1) == 0)
else if (saveData->authors.get("id", -1) == 0 || saveData->authors.get("id", -1) == -1)
{
saveData->authors["id"] = newSave->id;
}
Expand Down

0 comments on commit 55b31d6

Please sign in to comment.