Fixed a bug with enemy stats not saved properly

#333