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
|
// This save was probably just created, and we didn't know the ID when creating it
|
||||||
// Update with the proper ID
|
// 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;
|
saveData->authors["id"] = newSave->id;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user