Permalink
Browse files

my mod uses -1 for this

  • Loading branch information...
jacob1 committed Aug 6, 2017
1 parent 6fca44f commit 55b31d6f0e49b852a35ede82d6642a19010972f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/game/GameModel.cpp
@@ -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;
}

0 comments on commit 55b31d6

Please sign in to comment.