]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/teamplay.qc
Kill the ret_string global
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / teamplay.qc
index db724692bc46fedac8c25c581ab8930e293cfe4a..f23385ce0080ecc13b7fe6ef4ea5d272455bdece 100644 (file)
@@ -100,7 +100,7 @@ string getwelcomemessage(entity this)
        string s, modifications, motd;
 
        MUTATOR_CALLHOOK(BuildMutatorsPrettyString, "");
-       modifications = ret_string;
+       modifications = M_ARGV(0, string);
 
        if(g_weaponarena)
        {
@@ -147,7 +147,7 @@ string getwelcomemessage(entity this)
 
        string mutator_msg = "";
        MUTATOR_CALLHOOK(BuildGameplayTipsString, mutator_msg);
-       mutator_msg = ret_string;
+       mutator_msg = M_ARGV(0, string);
 
        s = strcat(s, mutator_msg); // trust that the mutator will do proper formatting