mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-21 12:40:20 -05:00
Encounter: fix teammate waypoint icons not being removed on disconnect
This commit is contained in:
@ -716,10 +716,15 @@ grief_onplayerdisconnect(disconnecting_player)
|
||||
{
|
||||
level endon("end_game");
|
||||
|
||||
if (isDefined(self.player_waypoint_origin))
|
||||
if (isDefined(self.player_waypoint))
|
||||
{
|
||||
self.player_waypoint_origin unlink();
|
||||
self.player_waypoint_origin delete();
|
||||
if (isDefined(self.player_waypoint_origin))
|
||||
{
|
||||
self.player_waypoint_origin unlink();
|
||||
self.player_waypoint_origin delete();
|
||||
}
|
||||
|
||||
self.player_waypoint destroy();
|
||||
}
|
||||
|
||||
if(!flag("initial_players_connected"))
|
||||
|
Reference in New Issue
Block a user