3 #include "../gamemode.qh"
5 .float lms_spectate_warning;
6 #define autocvar_g_lms_lives_override cvar("g_lms_lives_override")
9 REGISTER_MUTATOR(lms, false)
13 if (time > 1) // game loads at time 1
14 error("This is a game type and it cannot be added at runtime.");
17 GameRules_limit_score(((!autocvar_g_lms_lives_override) ? -1 : autocvar_g_lms_lives_override));
18 GameRules_limit_lead(0);
21 MUTATOR_ONROLLBACK_OR_REMOVE
23 // we actually cannot roll back lms_Initialize here
24 // BUT: we don't need to! If this gets called, adding always
30 LOG_INFO("This is a game type and it cannot be removed at runtime.");
38 float lms_lowest_lives;
39 float LMS_NewPlayerLives();