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,12 +11414,7 @@ void P_PlayerThink(player_t *player)
|
||||||
player->lives = 0;
|
player->lives = 0;
|
||||||
|
|
||||||
if (player->playerstate == PST_DEAD)
|
if (player->playerstate == PST_DEAD)
|
||||||
{
|
|
||||||
#ifdef HAVE_BLUA
|
|
||||||
LUAh_PlayerThink(player);
|
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue