Merge pull request #10180 from Ghommie/Ghommie-cit462

[s] virtual reality component improvements, fixes and documentation.
This commit is contained in:
Lin
2019-12-17 01:05:10 +00:00
committed by GitHub
23 changed files with 305 additions and 136 deletions
+3 -2
View File
@@ -181,8 +181,9 @@ Class Procs:
if(isliving(A))
var/mob/living/L = A
L.update_canmove()
SEND_SIGNAL(src, COMSIG_MACHINE_EJECT_OCCUPANT, occupant)
occupant = null
if(occupant)
SEND_SIGNAL(src, COMSIG_MACHINE_EJECT_OCCUPANT, occupant)
occupant = null
/obj/machinery/proc/can_be_occupant(atom/movable/am)
return occupant_typecache ? is_type_in_typecache(am, occupant_typecache) : isliving(am)