Added backwards compatibility for legacy saves
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user