fix DScriptScanner

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-11 09:30:07 -03:00
parent 2061caba18
commit 61df13306f

View file

@ -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;
}
@ -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;
}