]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/mutator/gamemode_lms.qc
GameRules: initialize as early as possible
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator / gamemode_lms.qc
index 354c1e15f4637d221058b1fbb6891998e1b0dcda..4d6f70438583b0f805b40070754e303b1a3f4726 100644 (file)
@@ -419,19 +419,7 @@ MUTATOR_HOOKFUNCTION(lms, AddPlayerScore)
                return true; // allow writing to this field in intermission as it is needed for newly joining players
 }
 
-// scoreboard stuff
-void lms_ScoreRules()
-{
-    GameRules_score_enabled(false);
-       GameRules_scoring(0, 0, 0, {
-        field(SP_LMS_LIVES, "lives", SFL_SORT_PRIO_SECONDARY);
-        field(SP_LMS_RANK, "rank", SFL_LOWER_IS_BETTER | SFL_RANK | SFL_SORT_PRIO_PRIMARY | SFL_ALLOW_HIDE);
-       });
-}
-
 void lms_Initialize()
 {
        lms_lowest_lives = 9999;
-
-       lms_ScoreRules();
 }