mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] multiple IDs should work (#11578)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a05bac2e8b
commit
2b286f1040
@@ -139,10 +139,8 @@
|
|||||||
if(M.id == id)
|
if(M.id == id)
|
||||||
if(M.density)
|
if(M.density)
|
||||||
M.open()
|
M.open()
|
||||||
return
|
|
||||||
else
|
else
|
||||||
M.close()
|
M.close()
|
||||||
return
|
|
||||||
|
|
||||||
//CHOMP Add start
|
//CHOMP Add start
|
||||||
/obj/machinery/button/remote/blast_door/bear
|
/obj/machinery/button/remote/blast_door/bear
|
||||||
@@ -190,7 +188,6 @@
|
|||||||
for(var/obj/machinery/power/emitter/E in GLOB.machines)
|
for(var/obj/machinery/power/emitter/E in GLOB.machines)
|
||||||
if(E.id == id)
|
if(E.id == id)
|
||||||
E.activate(user)
|
E.activate(user)
|
||||||
return
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Mass driver remote control
|
Mass driver remote control
|
||||||
@@ -210,7 +207,6 @@
|
|||||||
for(var/obj/machinery/door/blast/M in GLOB.machines)
|
for(var/obj/machinery/door/blast/M in GLOB.machines)
|
||||||
if(M.id == id)
|
if(M.id == id)
|
||||||
M.open()
|
M.open()
|
||||||
return
|
|
||||||
addtimer(CALLBACK(src, PROC_REF(trigger_step_one)), 2 SECONDS, TIMER_DELETE_ME|TIMER_UNIQUE)
|
addtimer(CALLBACK(src, PROC_REF(trigger_step_one)), 2 SECONDS, TIMER_DELETE_ME|TIMER_UNIQUE)
|
||||||
|
|
||||||
/obj/machinery/button/remote/driver/proc/trigger_step_one()
|
/obj/machinery/button/remote/driver/proc/trigger_step_one()
|
||||||
@@ -226,7 +222,6 @@
|
|||||||
for(var/obj/machinery/door/blast/M in GLOB.machines)
|
for(var/obj/machinery/door/blast/M in GLOB.machines)
|
||||||
if(M.id == id)
|
if(M.id == id)
|
||||||
M.close()
|
M.close()
|
||||||
return
|
|
||||||
|
|
||||||
active = FALSE
|
active = FALSE
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|||||||
@@ -145,4 +145,3 @@
|
|||||||
for(var/obj/machinery/door/D in range(src,range))
|
for(var/obj/machinery/door/D in range(src,range))
|
||||||
if(D.icon_tinted && (D.id_tint == src.id || !D.id_tint))
|
if(D.icon_tinted && (D.id_tint == src.id || !D.id_tint))
|
||||||
D.toggle()
|
D.toggle()
|
||||||
return
|
|
||||||
|
|||||||
@@ -77,6 +77,3 @@
|
|||||||
for(var/obj/machinery/holosign/M in GLOB.machines)
|
for(var/obj/machinery/holosign/M in GLOB.machines)
|
||||||
if(M.id == id)
|
if(M.id == id)
|
||||||
M.toggle()
|
M.toggle()
|
||||||
return
|
|
||||||
|
|
||||||
return
|
|
||||||
|
|||||||
@@ -68,6 +68,3 @@
|
|||||||
for(var/obj/machinery/neonsign/M in GLOB.machines)
|
for(var/obj/machinery/neonsign/M in GLOB.machines)
|
||||||
if(M.id == id)
|
if(M.id == id)
|
||||||
M.toggle()
|
M.toggle()
|
||||||
return
|
|
||||||
|
|
||||||
return
|
|
||||||
|
|||||||
@@ -671,7 +671,6 @@
|
|||||||
for(var/obj/structure/window/reinforced/polarized/W in range(src,range))
|
for(var/obj/structure/window/reinforced/polarized/W in range(src,range))
|
||||||
if (W.id == src.id || !W.id)
|
if (W.id == src.id || !W.id)
|
||||||
W.toggle()
|
W.toggle()
|
||||||
return
|
|
||||||
|
|
||||||
/obj/machinery/button/windowtint/power_change()
|
/obj/machinery/button/windowtint/power_change()
|
||||||
..()
|
..()
|
||||||
|
|||||||
Reference in New Issue
Block a user