]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix output of announcer option mutator hook
authorMario <mario@smbclan.net>
Fri, 10 Jun 2016 02:12:16 +0000 (12:12 +1000)
committerMario <mario@smbclan.net>
Fri, 10 Jun 2016 02:12:16 +0000 (12:12 +1000)
qcsrc/client/announcer.qc

index e5fd7d575f643a7e9c7f940c62f8eec94c2b82a5..0a0959b87ae09bb088725c13a4a8c970a5876264 100644 (file)
@@ -11,7 +11,7 @@ string AnnouncerOption()
 {
        string ret = autocvar_cl_announcer;
        MUTATOR_CALLHOOK(AnnouncerOption, ret);
-       ret = ret_string;
+       ret = M_ARGV(0, string);
        return ret;
 }