Skip to content

Commit

Permalink
Messages updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Dec 2, 2024
1 parent e8173b3 commit 92ebb15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cleo_plugins/DebugUtils/DebugUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class DebugUtils
currScript.commandCounter++;
if (currScript.commandCounter > configLimitCommand)
{
SHOW_ERROR("More than %d commands executed in single processing of script %s \nScript considered stuck and was suspended.\n\nTo ignore this error, increase 'command' property in %s.ini file.", configLimitCommand, ScriptInfoStr(pScript).c_str(), TARGET_NAME);
SHOW_ERROR("Over %d,%03d commands executed in a single frame by script %s \nTo prevent the game from freezing, CLEO suspended this script.\n\nTo ignore this error, increase 'command' property in %s.ini file and restart the game.", configLimitCommand / 1000, configLimitCommand % 1000, ScriptInfoStr(pScript).c_str(), TARGET_NAME);
return pScript->Suspend();
}

Expand All @@ -210,7 +210,7 @@ class DebugUtils

if (currScript.jumpCounter > configLimitJump)
{
SHOW_ERROR("More than %d jump commands executed in single processing of script %s \nScript considered stuck and was suspended.\n\nTo ignore this error, increase 'jump' property in %s.ini file.", configLimitJump, ScriptInfoStr(pScript).c_str(), TARGET_NAME);
SHOW_ERROR("Over %d,%03d jump commands executed in a single frame by script %s \nTo prevent the game from freezing, CLEO suspended this script.\n\nTo ignore this error, increase 'jump' property in %s.ini file and restart the game.", configLimitJump / 1000, configLimitJump % 1000, ScriptInfoStr(pScript).c_str(), TARGET_NAME);
return pScript->Suspend();
}
}
Expand Down

0 comments on commit 92ebb15

Please sign in to comment.