Merge pull request #6522 from Kyep/playtime_runtime_fix

Adds checks to prevent runtime in playtime list if mob has no mind
This commit is contained in:
Crazy Lemon
2017-02-21 11:56:55 -08:00
committed by GitHub
+1 -1
View File
@@ -13,7 +13,7 @@
var/jtext
for(var/client/C in clients)
jtext = "No Job"
if(C.mob.mind.assigned_role)
if(C.mob.mind && C.mob.mind.assigned_role)
theirjob = job_master.GetJob(C.mob.mind.assigned_role)
if(theirjob)
jtext = theirjob.title