mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Tesla relays will no longer draw power from the local APC when their device's cell is full.
This commit is contained in:
@@ -101,6 +101,6 @@
|
||||
return
|
||||
var/area/A = get_area(src)
|
||||
if(A)
|
||||
if(A.powered(EQUIP))
|
||||
if(A.powered(EQUIP) && assembly.give_power(power_amount))
|
||||
A.use_power(power_amount, EQUIP)
|
||||
assembly.give_power(power_amount) // give_power() handles CELLRATE on its own.
|
||||
// give_power() handles CELLRATE on its own.
|
||||
|
||||
Reference in New Issue
Block a user