Skip to content

Commit

Permalink
fix: Fixes continuing after deserialization error (#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman committed May 7, 2024
1 parent 328c6da commit 05535ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Projects/Server/World/EntityPersistence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ List<EntitySpan<T>> entities
{
deleteAllFailures = true;
}
else if (pressedKey.InsensitiveEquals("y"))
else if (!pressedKey.InsensitiveEquals("y"))
{
throw new Exception("Deserialization failed.");
}
Expand Down

0 comments on commit 05535ec

Please sign in to comment.