mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 02:41:49 +00:00
Do not subtract grief strikes for finishing a race normally
Prevents scenarios where someone engages in alternating sporting and unsporting behaviour and never experiences lasting consequences
This commit is contained in:
parent
ab68be49e1
commit
477eb000e5
1 changed files with 0 additions and 12 deletions
12
src/p_user.c
12
src/p_user.c
|
|
@ -1267,12 +1267,6 @@ void P_DoPlayerExit(player_t *player)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->griefStrikes > 0)
|
|
||||||
{
|
|
||||||
// Remove a strike for finishing a race normally
|
|
||||||
player->griefStrikes--;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (P_IsLocalPlayer(player) && (!player->spectator && !demo.playback))
|
if (P_IsLocalPlayer(player) && (!player->spectator && !demo.playback))
|
||||||
{
|
{
|
||||||
legitimateexit = true;
|
legitimateexit = true;
|
||||||
|
|
@ -3798,12 +3792,6 @@ void P_DoTimeOver(player_t *player)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->griefStrikes > 0)
|
|
||||||
{
|
|
||||||
// Remove a strike for finishing a race normally
|
|
||||||
player->griefStrikes--;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (P_IsLocalPlayer(player) && !demo.playback)
|
if (P_IsLocalPlayer(player) && !demo.playback)
|
||||||
{
|
{
|
||||||
legitimateexit = true; // SRB2kart: losing a race is still seeing it through to the end :p
|
legitimateexit = true; // SRB2kart: losing a race is still seeing it through to the end :p
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue