mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-20 20:52:52 +01:00
Update brain.dm
This commit is contained in:
@@ -131,7 +131,7 @@ GLOBAL_LIST_BOILERPLATE(all_brain_organs, /obj/item/organ/internal/brain)
|
||||
..()
|
||||
|
||||
/obj/item/organ/internal/brain/proc/get_control_efficiency()
|
||||
. = 1 - (round(damage / max_damage * 10) / 10)
|
||||
. = max(0, 1 - (round(damage / max_damage * 10) / 10))
|
||||
|
||||
return .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user