X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_world.qc;h=1af52b13209eea54f3d915f1a1992a1c0b12cc6f;hp=d8ce88cf3ce082f631dde1a28b08e76e75e5d28b;hb=94a967120c8bfe0d4ffd95690b97e5af297dfc05;hpb=58b8eafbf5e2ff9147477e115292246458c4c5eb diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index d8ce88cf3c..1af52b1320 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -1758,24 +1758,6 @@ float WinningCondition_Onslaught() return WINNING_NO; } -float LMS_NewPlayerLives() -{ - float fl; - fl = autocvar_fraglimit; - if(fl == 0) - fl = 999; - - // first player has left the game for dying too much? Nobody else can get in. - if(lms_lowest_lives < 1) - return 0; - - if(!autocvar_g_lms_join_anytime) - if(lms_lowest_lives < fl - autocvar_g_lms_last_join) - return 0; - - return bound(1, lms_lowest_lives, fl); -} - // Assault winning condition: If the attackers triggered a round end (by fulfilling all objectives) // they win. Otherwise the defending team wins once the timelimit passes. void assault_new_round();