mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user