This commit is contained in:
Fox-McCloud
2016-04-18 22:53:31 -04:00
parent 2954aa88ea
commit 8ff32f4566
8 changed files with 69 additions and 10 deletions
+7 -1
View File
@@ -129,7 +129,13 @@
return
/mob/proc/unset_machine()
src.machine = null
if(machine)
machine.on_unset_machine(src)
machine = null
//called when the user unsets the machine.
/atom/movable/proc/on_unset_machine(mob/user)
return
/mob/proc/set_machine(var/obj/O)
if(src.machine)