[MIRROR] Cleaned up some emag_acts (#2018)
* Cleaned up some emag_acts * Delete port_gen.dm.rej * Update port_gen.dm
This commit is contained in:
committed by
kevinz000
parent
099b908d64
commit
d21766956e
@@ -342,11 +342,12 @@
|
||||
return ..()
|
||||
|
||||
/obj/machinery/power/emitter/emag_act(mob/user)
|
||||
if(!emagged)
|
||||
locked = FALSE
|
||||
emagged = TRUE
|
||||
if(user)
|
||||
user.visible_message("[user.name] emags the [src.name].","<span class='notice'>You short out the lock.</span>")
|
||||
if(emagged)
|
||||
return
|
||||
locked = FALSE
|
||||
emagged = TRUE
|
||||
if(user)
|
||||
user.visible_message("[user.name] emags the [src].","<span class='notice'>You short out the lock.</span>")
|
||||
|
||||
|
||||
/obj/machinery/power/emitter/prototype
|
||||
|
||||
Reference in New Issue
Block a user