Reset custom battle armies on entry (#8783)

This commit is contained in:
2026-07-25 08:58:43 -07:00
committed by GitHub
parent 067aadfec1
commit 98eb64749f
@@ -44,6 +44,11 @@ public class CustomBattleHandler : MonoBehaviour, IClientConnectionSubscriber {
_eagleConnection = conn;
_persistentClientConnection = persistentClientConnection;
yourUnitsController.RowCount = 0;
aiUnitsController.RowCount = 0;
_heroNames.Clear();
_heroImages.Clear();
var random = new Random();
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
string gameId = new string(