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:
@@ -235,6 +235,9 @@ void Battlefield::InvitePlayerToWar(Player* player)
|
|||||||
if (!player)
|
if (!player)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (player->IsGameMaster())
|
||||||
|
return;
|
||||||
|
|
||||||
/// @todo : needed ?
|
/// @todo : needed ?
|
||||||
if (player->IsInFlight())
|
if (player->IsInFlight())
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user