Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RusJJ authored Apr 4, 2024
1 parent 3630639 commit ac8a8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ DECL_HOOKb(CLEO_OnOpcodeCall, void *storageItem, uint16_t opcode)
void* g_pForceInterrupt = NULL;
DECL_HOOK(int8_t, ProcessOneCommand, void* handle)
{
for(int i = SCRIPTS_LOG_COUNT-2; i > 0; --i)
for(int i = SCRIPTS_LOG_COUNT-2; i >= 0; --i)
{
lastScriptHandle[i + 1] = lastScriptHandle[i];
lastScriptPC[i + 1] = lastScriptPC[i];
Expand Down

0 comments on commit ac8a8ce

Please sign in to comment.