diff --git a/src/common/scripting/interface/vmnatives.cpp b/src/common/scripting/interface/vmnatives.cpp index 2b57ceb25a3..a798f1310ed 100644 --- a/src/common/scripting/interface/vmnatives.cpp +++ b/src/common/scripting/interface/vmnatives.cpp @@ -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; }