mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
More 515 Compatibility
This commit is contained in:
committed by
CHOMPStation2
parent
3129a35fe2
commit
2281afdf24
@@ -359,7 +359,7 @@
|
||||
. = ..()
|
||||
set_pin_data(IC_INPUT, 1, frequency)
|
||||
set_pin_data(IC_INPUT, 2, code)
|
||||
addtimer(CALLBACK(src, .proc/set_frequency, frequency), 40)
|
||||
addtimer(CALLBACK(src, PROC_REF(set_frequency), frequency), 40)
|
||||
|
||||
/obj/item/integrated_circuit/input/signaler/Destroy()
|
||||
if(radio_controller)
|
||||
|
||||
@@ -448,11 +448,11 @@
|
||||
|
||||
/obj/item/integrated_circuit/output/holographic_projector/Initialize()
|
||||
. = ..()
|
||||
GLOB.moved_event.register(src, src, .proc/on_moved)
|
||||
GLOB.moved_event.register(src, src, PROC_REF(on_moved))
|
||||
|
||||
/obj/item/integrated_circuit/output/holographic_projector/Destroy()
|
||||
destroy_hologram()
|
||||
GLOB.moved_event.unregister(src, src, .proc/on_moved)
|
||||
GLOB.moved_event.unregister(src, src, PROC_REF(on_moved))
|
||||
return ..()
|
||||
|
||||
/obj/item/integrated_circuit/output/holographic_projector/do_work()
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
var/new_delay = CLAMP(delay_input, 1, 1 HOUR)
|
||||
delay = new_delay
|
||||
|
||||
addtimer(CALLBACK(src, .proc/activate_pin, 2), delay)
|
||||
addtimer(CALLBACK(src, PROC_REF(activate_pin), 2), delay)
|
||||
|
||||
/obj/item/integrated_circuit/time/ticker
|
||||
name = "ticker circuit"
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
/obj/item/integrated_circuit/time/ticker/proc/tick()
|
||||
if(is_running && check_power())
|
||||
addtimer(CALLBACK(src, .proc/tick), delay)
|
||||
addtimer(CALLBACK(src, PROC_REF(tick)), delay)
|
||||
if(world.time > next_fire)
|
||||
next_fire = world.time + delay
|
||||
activate_pin(1)
|
||||
|
||||
Reference in New Issue
Block a user