]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/scores.qc
I have no idea why, but this fixes the mine layer.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / scores.qc
index 30adf39fb1fffb24a90af13c24fdfa9302228885..59480ab656db12c789baf9852b8a52ad5e41f4d8 100644 (file)
@@ -324,7 +324,8 @@ float PlayerScore_Add(entity player, float scorefield, float score)
        {
                if(gameover)
                        return 0;
-               error("Adding score to unknown player!");
+               backtrace("Adding score to unknown player!");
+               return 0;
        }
        if(score)
                if(scores_label[scorefield] != "")
@@ -367,7 +368,7 @@ void WinningConditionHelper()
        entity sk;
 
        s = GetGametype();
-       s = strcat(s, ":", cvar_string("g_nexuizversion"));
+       s = strcat(s, ":", cvar_string("g_xonoticversion"));
        s = strcat(s, "::", GetPlayerScoreString(world, 2)); // make this 1 once we can
 
        fullstatus = cvar("g_full_getstatus_responses");