mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-23 04:56:23 +01:00
it compiles, that's better than it not compiling, right?
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
//Copy from /obj/structure/chair
|
||||
/obj/machinery/shower/ComponentInitialize()
|
||||
. = ..()
|
||||
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE, CALLBACK(src, .proc/can_user_rotate),CALLBACK(src, .proc/can_be_rotated),null)
|
||||
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE, CALLBACK(src,PROC_REF(can_user_rotate),CALLBACK(src),PROC_REF(can_be_rotated),null))
|
||||
|
||||
/obj/machinery/shower/proc/can_be_rotated(mob/user)
|
||||
return !anchored
|
||||
|
||||
Reference in New Issue
Block a user