mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Only toggle director when you yourself spawn or when the first player in the level spawns
This commit is contained in:
parent
9eefb2e0ae
commit
45fb60d247
1 changed files with 6 additions and 2 deletions
|
|
@ -11843,10 +11843,14 @@ void P_SpawnPlayer(INT32 playernum)
|
|||
}
|
||||
|
||||
// Spectating when there is literally any other player in
|
||||
// the level enables director cam.
|
||||
// the level enables director cam. Or if the first player
|
||||
// enters the game, spectate them.
|
||||
// TODO: how do we support splitscreen?
|
||||
if (playernum == consoleplayer || pcount == 1)
|
||||
{
|
||||
K_ToggleDirector(players[consoleplayer].spectator && pcount > 0);
|
||||
}
|
||||
}
|
||||
|
||||
void P_AfterPlayerSpawn(INT32 playernum)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue