mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 07:59:08 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -132,7 +132,7 @@ GLOBAL_LIST_EMPTY(conveyors_by_id)
|
||||
return
|
||||
use_power(6)
|
||||
affecting = loc.contents - src // moved items will be all in loc
|
||||
addtimer(CALLBACK(src, .proc/convey, affecting), 1)
|
||||
addtimer(CALLBACK(src,PROC_REF(convey), affecting), 1)
|
||||
|
||||
/obj/machinery/conveyor/proc/convey(list/affecting)
|
||||
var/turf/T = get_step(src, movedir)
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
/obj/structure/disposalconstruct/ComponentInitialize()
|
||||
. = ..()
|
||||
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_FLIP | ROTATION_VERBS ,null,CALLBACK(src, .proc/can_be_rotated), CALLBACK(src, .proc/after_rot))
|
||||
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_FLIP | ROTATION_VERBS ,null,CALLBACK(src,PROC_REF(can_be_rotated)), CALLBACK(src,PROC_REF(after_rot)))
|
||||
|
||||
/obj/structure/disposalconstruct/proc/after_rot(mob/user,rotation_type)
|
||||
if(rotation_type == ROTATION_FLIP)
|
||||
|
||||
@@ -44,9 +44,9 @@
|
||||
if((start_eject + 30) < world.time)
|
||||
start_eject = world.time
|
||||
playsound(src, 'sound/machines/warning-buzzer.ogg', 50, 0, 0)
|
||||
addtimer(CALLBACK(src, .proc/expel_holder, H, TRUE), 20)
|
||||
addtimer(CALLBACK(src,PROC_REF(expel_holder), H, TRUE), 20)
|
||||
else
|
||||
addtimer(CALLBACK(src, .proc/expel_holder, H), 20)
|
||||
addtimer(CALLBACK(src,PROC_REF(expel_holder), H), 20)
|
||||
|
||||
/obj/structure/disposaloutlet/proc/expel_holder(obj/structure/disposalholder/H, playsound=FALSE)
|
||||
if(playsound)
|
||||
|
||||
Reference in New Issue
Block a user