Fixed a problem that caused the damage system to error out.