Skip to content

Commit a042cfb

Browse files
committed
apply PW charges bump on attack phase start even if there was no PW game/turn
1 parent 7e2b8af commit a042cfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ZkLobbyServer/SpringieInterface/PlanetWarsMatchMaker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ private async void TimerOnElapsed(object sender, ElapsedEventArgs elapsedEventAr
128128
case PwPhase.AttackCollect:
129129
if (DateTime.UtcNow > GetAttackDeadline())
130130
{
131+
await ApplyTurnEndChargeBump();
131132
RunSquadFormation();
132133
if (FormedSquads.Any())
133134
{
@@ -154,7 +155,6 @@ private async void TimerOnElapsed(object sender, ElapsedEventArgs elapsedEventAr
154155
RunDefenderAssignment();
155156
await LaunchAllBattles();
156157
RunGalaxyTick();
157-
await ApplyTurnEndChargeBump();
158158
AttackerSideCounter++;
159159
ResetAttackOptions();
160160
}

0 commit comments

Comments
 (0)