Added backwards compatibility for legacy saves

This commit is contained in:
Anuken
2020-02-17 11:13:46 -05:00
parent 18d4efa315
commit e215772f30
34 changed files with 1009 additions and 855 deletions

View File

@@ -46,7 +46,7 @@ abstract class HealthComp implements Entityc{
}
boolean damaged(){
return health <= maxHealth - 0.0001f;
return health < maxHealth - 0.001f;
}
void damage(float amount){