Don't run the LUAh_PlayerThink function if the time ran out in Race or Competition
This commit is contained in:
parent
fc70164f93
commit
3fc1069082
|
@ -11414,14 +11414,9 @@ void P_PlayerThink(player_t *player)
|
|||
player->lives = 0;
|
||||
|
||||
if (player->playerstate == PST_DEAD)
|
||||
{
|
||||
#ifdef HAVE_BLUA
|
||||
LUAh_PlayerThink(player);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If it is set, start subtracting
|
||||
// Don't allow it to go back to 0
|
||||
|
|
Loading…
Reference in a new issue