mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-23 15:50:37 +01:00
my mod uses -1 for this
This commit is contained in:
parent
6fca44fd70
commit
55b31d6f0e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user