]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/gamemodes/gamemode/survival/sv_survival.qh
822cfd0ebfffc2642fd7f2276b6d8ed50c31de4c
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / survival / sv_survival.qh
1 #pragma once
2
3 #include <common/mutators/base.qh>
4 #include <common/scores.qh>
5 void surv_Initialize();
6
7 REGISTER_MUTATOR(sv, false)
8 {
9     MUTATOR_STATIC();
10         MUTATOR_ONADD
11         {
12                 surv_Initialize();
13         }
14         return false;
15 }
16
17 .int survival_validkills; // store the player's valid kills to be given at the end of the match (avoid exposing their score until then)