Skip to content

Commit 399b05a

Browse files
fix: bad network warning not deleted on despawn (#661)
1 parent b9f3ecd commit 399b05a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Assets/BossRoom/Scripts/Infrastructure/NetworkStats.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ public override void OnNetworkDespawn()
175175
{
176176
Destroy(m_TextHostType.gameObject);
177177
}
178+
179+
if (m_TextBadNetworkConditions != null)
180+
{
181+
Destroy(m_TextBadNetworkConditions.gameObject);
182+
}
178183
}
179184
}
180185
}

0 commit comments

Comments
 (0)