fixed bug where buildings weren't dying when at/below 0 hp