mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-13 17:22:41 +01:00
between() -> clamp() & swaps args 1 and 2 in uses
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
amount = round(amount)
|
||||
if(damage_casing)
|
||||
damage += amount
|
||||
damage = between(0, damage, max_damage)
|
||||
damage = clamp(damage, 0, max_damage)
|
||||
|
||||
if(component_probability)
|
||||
for(var/obj/item/computer_hardware/H in get_all_components())
|
||||
|
||||
Reference in New Issue
Block a user