]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/tmayhem/sv_tmayhem.qc
fixed whitelisting and gave some score cvars better names
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / tmayhem / sv_tmayhem.qc
index 51c68c2005849554bacb1cc2fd6c5609c650abbe..acb10404e90fb35040ebb6cc17e18fc242c762aa 100644 (file)
@@ -47,13 +47,13 @@ void tmayhem_DelayedInit(entity this)
 
 void tmayhem_Initialize()
 {
-       if(autocvar_g_tmayhem_point_limit != 0 && autocvar_g_tmayhem_fraglimit != 0)
-               tmayhempointmultiplier = autocvar_g_tmayhem_point_limit / autocvar_g_tmayhem_fraglimit;
+       if(autocvar_g_tmayhem_visual_score_limit != 0 && autocvar_g_tmayhem_fraglimit != 0)
+               tmayhempointmultiplier = autocvar_g_tmayhem_visual_score_limit / autocvar_g_tmayhem_fraglimit;
 
        GameRules_teams(true);
        GameRules_spawning_teams(autocvar_g_tmayhem_team_spawns);
-       GameRules_limit_score(autocvar_g_tmayhem_point_limit);
-       GameRules_limit_lead(autocvar_g_tmayhem_point_leadlimit);
+       GameRules_limit_score(autocvar_g_tmayhem_visual_score_limit);
+       GameRules_limit_lead(autocvar_g_tmayhem_score_leadlimit);
 
        InitializeEntity(NULL, tmayhem_DelayedInit, INITPRIO_GAMETYPE);
 }