]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/nexball/nexball.qc
GameRules: initialize as early as possible
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / nexball / nexball.qc
index 4f8d6b55922b38e7cc467781d40b8700c8dda2a0..5a0ff2a2c22ade90150d22cad3fbcfdb8be07f3b 100644 (file)
@@ -71,7 +71,7 @@ float OtherTeam(float t)  //works only if there are two teams on the map!
        return e.team;
 }
 
-const float ST_NEXBALL_GOALS = 1;
+const int ST_NEXBALL_GOALS = 1;
 void nb_ScoreRules(int teams)
 {
     GameRules_scoring(teams, 0, 0, {