Removes unnessacary math defines

This commit is contained in:
ShizCalev
2020-02-17 23:09:09 -05:00
parent fcf32c3d2d
commit 7209ac3c93
160 changed files with 331 additions and 335 deletions
@@ -76,7 +76,7 @@
///Tries to charge from powernet excess, no upper limit except max charge.
/obj/machinery/computer/vaultcontroller/proc/attempt_siphon()
var/surpluspower = CLAMP(attached_cable.surplus(), 0, (siphon_max - siphoned_power))
var/surpluspower = clamp(attached_cable.surplus(), 0, (siphon_max - siphoned_power))
if(surpluspower)
attached_cable.add_load(surpluspower)
siphoned_power += surpluspower