From 4a1ff7d1f01b86e0eeb58850641e31a3d17282c4 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Fri, 9 Dec 2022 00:57:28 +0000 Subject: Localize stringcommands to allow servers to use localised messages (#535) * localize stringcommands to allow servers to use localised messages * formatting ig --- Northstar.Custom/mod/scripts/vscripts/sh_message_utils.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Northstar.Custom/mod/scripts/vscripts/sh_message_utils.gnut b/Northstar.Custom/mod/scripts/vscripts/sh_message_utils.gnut index 6bbf77bd..4cfdc6fb 100644 --- a/Northstar.Custom/mod/scripts/vscripts/sh_message_utils.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/sh_message_utils.gnut @@ -225,7 +225,7 @@ string function CombineArgsIntoString( array args ) // Ignore the first argument for( int i = 1; i < args.len(); i++ ) - result += args[i] + " " + result += Localize( args[i] ) + " " return result } -- cgit v1.2.3