diff --git a/src/core/game/PlayerImpl.ts b/src/core/game/PlayerImpl.ts index 1faa13d93..323d8f41b 100644 --- a/src/core/game/PlayerImpl.ts +++ b/src/core/game/PlayerImpl.ts @@ -22,6 +22,8 @@ import { ColoredTeams, Embargo, EmojiMessage, + GameMode, + GameType, Gold, MessageType, MutableAlliance, @@ -527,6 +529,13 @@ export class PlayerImpl implements Player { if (!this.isFriendly(recipient)) { return false; } + if ( + recipient.type() === PlayerType.Human && + this.mg.config().gameConfig().gameMode === GameMode.FFA && + this.mg.config().gameConfig().gameType === GameType.Public + ) { + return false; + } for (const donation of this.sentDonations) { if (donation.recipient === recipient) { if (