From 61df13306f5884ebb91a20ac6f0743a751741d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Sat, 11 Jan 2025 09:30:07 -0300 Subject: [PATCH] fix DScriptScanner --- src/common/scripting/interface/vmnatives.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }