Script/Battleground: Fixed crash build