forgor this

This commit is contained in:
Alug committed 2024-07-10 05:45:06 +02:00
1 parent 874e6cd5af
commit 80419748db
1 file changed
+1 -1
+1 -1
View File
@@ -4050,7 +4050,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;