mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 01:52:29 +00:00
Fixes #8582.
simple_animal/Life() did not terminate properly on death. Caused issues with bears that would update their icons if Life() returned true (despite having called death).
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
|
||||
if(health < 1)
|
||||
death()
|
||||
return
|
||||
|
||||
if(health > maxHealth)
|
||||
health = maxHealth
|
||||
|
||||
Reference in New Issue
Block a user