void lms_RemovePlayer(entity player)
{
+ static int quitters = 0;
float player_rank = PlayerScore_Add(player, SP_LMS_RANK, 0);
if (!player_rank)
{
if (it.frags == FRAGS_LMS_LOSER)
{
float it_rank = PlayerScore_Add(it, SP_LMS_RANK, 0);
- if (it_rank > player_rank && it_rank < 665)
+ if (it_rank > player_rank && it_rank <= 256)
PlayerScore_Add(it, SP_LMS_RANK, -1);
lms_lowest_lives = 0;
}
lms_lowest_lives = tl;
}
});
+ PlayerScore_Add(player, SP_LMS_RANK, 665 - quitters); // different from 666
if(!warmup_stage)
+ {
PlayerScore_Add(player, SP_LMS_LIVES, -PlayerScore_Add(player, SP_LMS_LIVES, 0));
- PlayerScore_Add(player, SP_LMS_RANK, 665); // different from 666
+ ++quitters;
+ }
player.frags = FRAGS_LMS_LOSER;
TRANSMUTE(Observer, player);
}