mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-09 05:18:17 -05:00
Add back solo_game flag change mid game
This commit is contained in:
@ -1853,5 +1853,19 @@ end_game()
|
||||
|
||||
check_quickrevive_for_hotjoin(disconnecting_player)
|
||||
{
|
||||
// always use coop quick revive
|
||||
subtract_num = 0;
|
||||
|
||||
if ( isdefined( disconnecting_player ) )
|
||||
subtract_num = 1;
|
||||
|
||||
players = get_players();
|
||||
|
||||
if ( players.size - subtract_num == 1 )
|
||||
{
|
||||
flag_set( "solo_game" );
|
||||
}
|
||||
else
|
||||
{
|
||||
flag_clear( "solo_game" );
|
||||
}
|
||||
}
|
@ -182,10 +182,6 @@ screecher_detach( player )
|
||||
|
||||
if ( isdefined( player.screecher_weapon ) && player.screecher_weapon != "none" && is_player_valid( player ) && !is_equipment_that_blocks_purchase( player.screecher_weapon ) )
|
||||
player switchtoweapon( player.screecher_weapon );
|
||||
else if ( flag( "solo_game" ) && player hasperk( "specialty_quickrevive" ) )
|
||||
{
|
||||
|
||||
}
|
||||
else if ( !player maps\mp\zombies\_zm_laststand::player_is_in_laststand() )
|
||||
{
|
||||
primaryweapons = player getweaponslistprimaries();
|
||||
|
Reference in New Issue
Block a user