forgor this

This commit is contained in:
Alug committed 2024-07-10 10:18:50 +02:00
1 parent c5ec61baa5
commit d4886f8923
1 file changed
+1 -1
+1 -1
View File
@@ -4047,7 +4047,7 @@ boolean P_SpectatorJoinGame(player_t *player)
if (player->mo)
{
P_RemoveMobj(player->mo);
player->mo = NULL;
P_SetTarget(&player->mo, NULL);
}
player->spectator = false;
player->pflags &= ~PF_WANTSTOJOIN;