Skip to content

Commit

Permalink
fixup! Fixed has_save_game_finished in custom scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Oct 13, 2024
1 parent e4aaac5 commit 604d450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/CCustomOpcodeSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ namespace CLEO
{
if (thread->IsCustom())
{
bool saveProcessing = (GetInstance().GameState() == GameSessionState::Initial) && (GetInstance().saveSlot) != -1;
bool saveProcessing = (GetInstance().GameState() == GameSessionState::Initial) && (GetInstance().saveSlot != -1);

OPCODE_CONDITION_RESULT(!saveProcessing);
return OR_CONTINUE;
Expand Down

0 comments on commit 604d450

Please sign in to comment.