mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev
This commit is contained in:
@@ -97,10 +97,7 @@
|
||||
SetLuminosity(12)
|
||||
|
||||
// found a powernet, so drain up to max power from it
|
||||
|
||||
var/drained = min ( drain_rate, PN.avail )
|
||||
PN.newload += drained
|
||||
power_drained += drained
|
||||
var/drained = PN.draw_power(drain_rate)
|
||||
|
||||
// if tried to drain more than available on powernet
|
||||
// now look for APCs and drain their cells
|
||||
|
||||
@@ -70,5 +70,5 @@
|
||||
|
||||
/obj/structure/largecrate/hoverpod/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(istype(W, /obj/item/weapon/crowbar))
|
||||
new /obj/mecha/working/hoverpod(loc)
|
||||
new /obj/mecha/hoverpod(loc)
|
||||
..()
|
||||
Reference in New Issue
Block a user