]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/scores.qc
Clean up nJoinAllowed a little
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / scores.qc
index e29d1723ba0aaa24abfaa124be7504695f80db9c..1b20101d990d5b7a650b7a04d24e7490a5c63c31 100644 (file)
@@ -409,7 +409,7 @@ void WinningConditionHelper()
        s = GetGametype();
        s = strcat(s, ":", autocvar_g_xonoticversion);
        s = strcat(s, ":P", ftos(cvar_purechanges_count));
-       s = strcat(s, ":S", ftos(nJoinAllowed(world)));
+       s = strcat(s, ":S", ftos(nJoinAllowed(self, world)));
        s = strcat(s, ":F", ftos(serverflags));
        s = strcat(s, ":M", modname);
        s = strcat(s, "::", GetPlayerScoreString(world, (fullstatus ? 1 : 2)));