re-enable donation in ffa

This commit is contained in:
evan
2025-04-29 19:28:21 -07:00
parent e0cbbf0173
commit 41f5faf34c
-8
View File
@@ -21,7 +21,6 @@ import {
BuildableUnit,
Cell,
EmojiMessage,
GameMode,
Gold,
MessageType,
MutableAlliance,
@@ -527,13 +526,6 @@ export class PlayerImpl implements Player {
}
canDonate(recipient: Player): boolean {
if (
recipient.type() == PlayerType.Human &&
this.mg.config().gameConfig().gameMode == GameMode.FFA
) {
return false;
}
if (!this.isFriendly(recipient)) {
return false;
}