]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/gamemodes/gamemode/cts/sv_cts.qh
Split gamemodes into cl and sv.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / cts / sv_cts.qh
1 #pragma once
2
3 #include <common/mutators/base.qh>
4 #include <server/race.qh>
5
6 void cts_Initialize();
7
8 REGISTER_MUTATOR(cts, false)
9 {
10     MUTATOR_STATIC();
11         MUTATOR_ONADD
12         {
13                 g_race_qualifying = true;
14                 independent_players = 1;
15         GameRules_limit_score(0);
16         GameRules_limit_lead(0);
17
18                 cts_Initialize();
19         }
20         return 0;
21 }
22
23 // scores
24 const float ST_CTS_LAPS = 1;