mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-23 22:11:01 +00:00
check if the gametype allows spectators to allow jump key respawn
This commit is contained in:
parent
ca3941f5b8
commit
5e328d6d33
1 changed files with 1 additions and 1 deletions
|
|
@ -9463,7 +9463,7 @@ static void P_DeathThink(player_t *player)
|
|||
if (cmd->buttons & BT_JUMP)
|
||||
{
|
||||
// You're a spectator, so respawn right away.
|
||||
if (gametype != GT_COOP && player->spectator)
|
||||
if ((gametyperules & GTR_SPECTATORS) && player->spectator)
|
||||
player->playerstate = PST_REBORN;
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue