mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Area tweaks (#20391)
Reworked area changes and power define channels No player visible changes (hopefully)
This commit is contained in:
@@ -59,8 +59,8 @@
|
||||
return
|
||||
var/area/A = get_area(src)
|
||||
if(A)
|
||||
if(A.powered(EQUIP) && assembly.give_power(power_amount))
|
||||
A.use_power_oneoff(power_amount, EQUIP)
|
||||
if(A.powered(AREA_USAGE_EQUIP) && assembly.give_power(power_amount))
|
||||
A.use_power_oneoff(power_amount, AREA_USAGE_EQUIP)
|
||||
// give_power() handles CELLRATE on its own.
|
||||
|
||||
// For implants.
|
||||
|
||||
Reference in New Issue
Block a user