finally not crashing on base defenses!

now crashing on map generation for base defense :(