fix loading battle.xc