feat(Core/Battlefield): Skip GMs from war invites (#25987)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Andrew
2026-05-26 21:11:25 -03:00
committed by GitHub
parent 08e458a62b
commit 1ff5147b85
@@ -235,6 +235,9 @@ void Battlefield::InvitePlayerToWar(Player* player)
if (!player)
return;
if (player->IsGameMaster())
return;
/// @todo : needed ?
if (player->IsInFlight())
return;