base explodes when destroyed and then pauses the game. Also fixed an
arrayoutofbounds exception when scanning for enemies