mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Fixes nulling of objectives lists
This commit is contained in:
@@ -335,7 +335,7 @@
|
||||
job_master.FreeRole(job)
|
||||
|
||||
if(occupant.mind.objectives.len)
|
||||
qdel(occupant.mind.objectives)
|
||||
occupant.mind.objectives.Cut()
|
||||
occupant.mind.special_role = null
|
||||
else
|
||||
if(ticker.mode.name == "AutoTraitor")
|
||||
|
||||
@@ -34,7 +34,7 @@ var/global/list/empty_playable_ai_cores = list()
|
||||
job_master.FreeRole(job)
|
||||
|
||||
if(mind.objectives.len)
|
||||
qdel(mind.objectives)
|
||||
mind.objectives.Cut()
|
||||
mind.special_role = null
|
||||
else
|
||||
if(ticker.mode.name == "AutoTraitor")
|
||||
|
||||
Reference in New Issue
Block a user