Skip to content

Commit 8b4f35b

Browse files
committed
Fix origowner
1 parent d26886b commit 8b4f35b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/core/execution/TransportShipExecution.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ export class TransportShipExecution implements Execution {
3333

3434
private pathFinder: PathFinder;
3535

36+
private originalOwner: Player;
37+
3638
constructor(
3739
private attacker: Player,
3840
private targetID: PlayerID | null,
3941
private ref: TileRef,
4042
private startTroops: number,
4143
private src: TileRef | null,
42-
) {}
43-
44-
private originalOwner = this.attacker;
44+
) {
45+
this.originalOwner = this.attacker;
46+
}
4547

4648
activeDuringSpawnPhase(): boolean {
4749
return false;

0 commit comments

Comments
 (0)