]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/scores_rules.qh
Fix current custom gametype not being kept if gametype vote ends without votes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / scores_rules.qh
index b307eebfb1f746bcd84c25542893f8b4026bb912..2978c217ef4d18ccceffdaaf8c846f8f4dc89911 100644 (file)
@@ -1,8 +1,9 @@
-#ifndef SCORES_RULES_H
-#define SCORES_RULES_H
+#pragma once
 
-void ScoreRules_basics(float teams, float sprio, float stprio, float score_enabled);
+bool IsTeamAvailable(int team_num);
+int NumTeams(int teams);
+void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled);
 void ScoreRules_basics_end();
 void ScoreRules_generic();
 
-#endif
+#define AVAILABLE_TEAMS teamplay