mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-29 00:20:17 -05:00
Fix last stand pistol not changing when players join
This commit is contained in:
@ -2634,6 +2634,7 @@ check_quickrevive_for_hotjoin(disconnecting_player)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
solo_mode = 0;
|
||||||
subtract_num = 0;
|
subtract_num = 0;
|
||||||
|
|
||||||
if ( isdefined( disconnecting_player ) )
|
if ( isdefined( disconnecting_player ) )
|
||||||
@ -2643,10 +2644,13 @@ check_quickrevive_for_hotjoin(disconnecting_player)
|
|||||||
|
|
||||||
if ( players.size - subtract_num == 1 )
|
if ( players.size - subtract_num == 1 )
|
||||||
{
|
{
|
||||||
|
solo_mode = 1;
|
||||||
flag_set( "solo_game" );
|
flag_set( "solo_game" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
flag_clear( "solo_game" );
|
flag_clear( "solo_game" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_default_laststand_pistol( solo_mode );
|
||||||
}
|
}
|
Reference in New Issue
Block a user