Misc fixes.

This commit is contained in:
hondacrx
2021-02-09 10:33:35 -05:00
parent 710d7c2fbd
commit 4bfc02f1f3
4 changed files with 27 additions and 5 deletions
@@ -38,7 +38,7 @@ namespace Game.BattleGrounds
public void DeleteAllBattlegrounds()
{
foreach (var data in bgDataStore.Values.ToList())
while(data.m_Battlegrounds.Empty())
while(!data.m_Battlegrounds.Empty())
data.m_Battlegrounds.First().Value.Dispose();
bgDataStore.Clear();