fixed bug still get shoot by the enemy's ship eventough the battle is over