Fix dumb arithmetic error breaking saves. Closes #336

This commit is contained in:
Brant Martin
2019-08-25 11:20:35 -04:00
parent 7bfc6077b9
commit ef444730b7

View File

@@ -383,7 +383,7 @@ namespace Torch
{
if (exclusive)
{
if (MyAsyncSaving.InProgress || _inProgressSaves >= 0)
if (MyAsyncSaving.InProgress || _inProgressSaves > 0)
{
Log.Error("Failed to save game, game is already saving");
return null;