Skip to content

Commit

Permalink
fix DScriptScanner
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 committed Jan 11, 2025
1 parent e12d51c commit c6b5355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/scripting/interface/vmnatives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ DEFINE_ACTION_FUNCTION(DScriptScanner, ScriptError)
{
PARAM_SELF_PROLOGUE(DScriptScanner);

FString s = FStringFormat(VM_ARGS_NAMES);
FString s = FStringFormat(VM_ARGS_NAMES, 1);
self->wrapped.ScriptError("%s", s.GetChars());
return 0;
}
Expand All @@ -1715,7 +1715,7 @@ DEFINE_ACTION_FUNCTION(DScriptScanner, ScriptMessage)
{
PARAM_SELF_PROLOGUE(DScriptScanner);

FString s = FStringFormat(VM_ARGS_NAMES);
FString s = FStringFormat(VM_ARGS_NAMES, 1);
self->wrapped.ScriptMessage("%s", s.GetChars());
return 0;
}
Expand Down

0 comments on commit c6b5355

Please sign in to comment.