Fixed the core damage bug that caused ships to instagib.
Thanks to Mechanos for helping chaise this bug down.