Landing boats always conquer shore tile (#790)

## Description:

Modifies the transport ship landing logic to always conquer the tile.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
Scott Anderson
2025-05-20 16:08:02 -04:00
committed by GitHub
parent 9b0ddc7f77
commit 228f5b13af
+2 -2
View File
@@ -178,10 +178,10 @@ export class TransportShipExecution implements Execution {
this.active = false;
return;
}
this.attacker.conquer(this.dst);
if (this.target.isPlayer() && this.attacker.isFriendly(this.target)) {
this.target.addTroops(this.troops);
this.attacker.addTroops(this.troops);
} else {
this.attacker.conquer(this.dst);
this.mg.addExecution(
new AttackExecution(
this.troops,