1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-29 08:30:03 -05:00

Add basic functionality for new Encounter game modes

This commit is contained in:
Jbleezy
2022-01-28 12:33:59 -08:00
parent 3fbb214f60
commit 769decd8c1
4 changed files with 104 additions and 20 deletions

View File

@ -7,6 +7,11 @@ wait_for_team_death_and_round_end()
level endon( "game_module_ended" );
level endon( "end_game" );
if(level.scr_zm_ui_gametype_obj != "zgrief")
{
return;
}
checking_for_round_end = 0;
checking_for_round_tie = 0;
level.isresetting_grief = 0;

View File

@ -211,7 +211,10 @@ 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(level.scr_zm_ui_gametype_obj == "zgrief")
{
players[i] thread scripts/zm/zgrief/zgrief_reimagined::player_suicide();
}
}
}
}