Merge branch 'spectators-trigger-radius-thing' into 'master'

Make Radius Script Thing ignore spectators

Closes #860

See merge request KartKrew/Kart!1820
This commit is contained in:
Gunla 2024-01-12 06:25:28 +00:00
commit 402d522be6

View file

@ -6807,7 +6807,7 @@ static void P_MobjSceneryThink(mobj_t *mobj)
UINT8 i;
for (i = 0; i < MAXPLAYERS; i++)
{
if (playeringame[i] == false)
if (playeringame[i] == false || players[i].spectator == true)
{
continue;
}