Rounds all organ health damage to the second decimal (#24031)

* no more stupid values

* internal organs too

* 2 symbols

* var

* Empty-Commit
This commit is contained in:
HMBGERDO
2024-02-24 18:14:47 +00:00
committed by GitHub
parent 657ea5ac26
commit ac7752f6dc
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -219,6 +219,7 @@
if(tough)
return
damage = clamp(damage + amount, 0, max_damage)
damage = round_health(damage)
//only show this if the organ is not robotic
if(owner && parent_organ && amount > 0)