Refactors occupant to use setter (#54373)

This is to make it easier to attach a signal to the setting of the occupant.
This commit is contained in:
nicbn
2020-10-18 12:46:14 -03:00
committed by GitHub
parent 83ee251dde
commit a653bc6350
13 changed files with 94 additions and 67 deletions
@@ -99,7 +99,7 @@
var/mob/living/mob_occupant = occupant
if(mob_occupant.stat == DEAD)
return
flash = experiment(occupant, params["experiment_type"], usr)
flash = experiment(mob_occupant, params["experiment_type"], usr)
return TRUE
/**