mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-23 21:16:16 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
x_offset = x
|
||||
y_offset = y
|
||||
rotation_degree = rotation
|
||||
RegisterSignal(target, COMSIG_ITEM_ATTACK_OBJ, .proc/tuck_into_bed)
|
||||
RegisterSignal(target, COMSIG_ITEM_ATTACK_OBJ,PROC_REF(tuck_into_bed))
|
||||
|
||||
/datum/element/bed_tuckable/Detach(obj/target)
|
||||
. = ..()
|
||||
@@ -44,7 +44,7 @@
|
||||
tucked.pixel_y = y_offset
|
||||
if(rotation_degree)
|
||||
tucked.transform = turn(tucked.transform, rotation_degree)
|
||||
RegisterSignal(tucked, COMSIG_ITEM_PICKUP, .proc/untuck)
|
||||
RegisterSignal(tucked, COMSIG_ITEM_PICKUP,PROC_REF(untuck))
|
||||
|
||||
return COMPONENT_NO_AFTERATTACK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user