This commit is contained in:
AzuleUtama
2020-02-15 23:26:13 +00:00
parent 440a6f055f
commit f5f3d6d52c
+1 -1
View File
@@ -394,11 +394,11 @@
spawn(1) //This should ideally fire after the occupant is deleted.
if(!O) return
O.find_target()
O.owner.announce_objectives()
if(!(O.target))
GLOB.all_objectives -= O
O.owner.objectives -= O
qdel(O)
O.owner.announce_objectives()
if(occupant.mind && occupant.mind.assigned_role)
//Handle job slot/tater cleanup.
var/job = occupant.mind.assigned_role