mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-14 09:34:32 +00:00
fix build errors due to bad merge
This commit is contained in:
@@ -31,8 +31,7 @@ export class DonateTroopsExecution implements Execution {
|
||||
this.troops = mg.config().defaultDonationAmount(this.sender);
|
||||
}
|
||||
const maxDonation =
|
||||
mg.config().maxPopulation(this.recipient) -
|
||||
this.recipient.totalPopulation();
|
||||
mg.config().maxPopulation(this.recipient) - this.recipient.population();
|
||||
this.troops = Math.min(this.troops, maxDonation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user