mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 06:39:22 +01:00
Merge pull request #6492 from Mechoid/FixDivbyZeroSeriouslyHowDidIDoThat
Fix The Zeros
This commit is contained in:
@@ -1630,7 +1630,7 @@
|
||||
if(R.volume >= R.overdose)
|
||||
temp = PULSE_NONE
|
||||
|
||||
return round(temp * brain_modifier)
|
||||
return max(0, round(temp * brain_modifier))
|
||||
|
||||
/mob/living/carbon/human/proc/handle_heartbeat()
|
||||
if(pulse == PULSE_NONE)
|
||||
|
||||
Reference in New Issue
Block a user