Skip to content

Commit

Permalink
Fix 0AB2 return params in legacy scripts. (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC authored Sep 25, 2024
1 parent 468e2d7 commit cc82371
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 @@ -1120,7 +1120,7 @@ namespace CLEO
returnParamCount = declaredParamCount;
}

return GetInstance().OpcodeSystem.CleoReturnGeneric(0x0AB2, thread, !IsLegacyScript(thread), returnParamCount);
return GetInstance().OpcodeSystem.CleoReturnGeneric(0x0AB2, thread, true, returnParamCount, !IsLegacyScript(thread));
}

//0AB3=2,set_cleo_shared_var %1d% = %2d%
Expand Down

0 comments on commit cc82371

Please sign in to comment.