mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-29 08:30:03 -05:00
Encounter: fix game ending if player leaves while connecting
This commit is contained in:
@ -721,6 +721,11 @@ grief_onplayerdisconnect(disconnecting_player)
|
||||
disconnecting_player.head_icon destroy();
|
||||
}
|
||||
|
||||
if(!isDefined(disconnecting_player.team) || disconnecting_player.team != "axis" || disconnecting_player.team != "allies")
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if(!flag("initial_blackscreen_passed"))
|
||||
{
|
||||
return;
|
||||
|
Reference in New Issue
Block a user