1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Containment: fix Nuke not respawning players

This commit is contained in:
Jbleezy
2022-01-29 23:04:26 -08:00
parent 1488cf77d9
commit 9af4d3f30a

View File

@ -211,7 +211,14 @@ nuke_powerup( drop_item, player_team )
}
else if(players[i] maps/mp/zombies/_zm_laststand::player_is_in_laststand())
{
players[i] thread scripts/zm/zgrief/zgrief_reimagined::player_suicide();
if(isDefined(level.scr_zm_ui_gametype_obj) && level.scr_zm_ui_gametype_obj == "zgrief")
{
players[i] thread scripts/zm/zgrief/zgrief_reimagined::player_suicide();
}
else
{
players[i] maps/mp/zombies/_zm::spectator_respawn();
}
}
}
}