disconnect after quit game

This commit is contained in:
Le Duc Anh
2025-09-10 14:18:20 +07:00
parent c922216dc7
commit 822a1fc78e
3 changed files with 6 additions and 1 deletions
Binary file not shown.
@@ -17,7 +17,7 @@ namespace BrewMonster
private void OnDestroy()
{
EC_ManMessage.Dispose();
}
private void Update()
@@ -122,5 +122,10 @@ namespace BrewMonster.Network
}
actDone?.Invoke(true);
}
void OnDestroy()
{
_gameSession.Disconnect();
}
}
}