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 604d450 commit 06b0172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/CCustomOpcodeSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -829,9 +829,9 @@ namespace CLEO
{
if (thread->IsCustom())
{
bool saveProcessing = (GetInstance().GameState() == GameSessionState::Initial) && (GetInstance().saveSlot != -1);
bool justLoaded = (GetInstance().GameState() == GameSessionState::Initial) && (GetInstance().saveSlot != -1);

OPCODE_CONDITION_RESULT(!saveProcessing);
OPCODE_CONDITION_RESULT(!justLoaded);
return OR_CONTINUE;
}

Expand Down

0 comments on commit 06b0172

Please sign in to comment.