Skip to content

Commit

Permalink
[MODULAR] Fixes appendix related runtime (#25210)
Browse files Browse the repository at this point in the history
Fixes appendix related runtime
  • Loading branch information
vinylspiders authored and FFMirrorBot committed Nov 26, 2023
1 parent 8074c4b commit 2e716f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if(engaged_role_play_check(owner, station = TRUE, dorms = TRUE))
return

if(!(owner.mind.assigned_role.job_flags & JOB_CREW_MEMBER))
if(!(owner.mind && owner.mind.assigned_role && owner.mind.assigned_role.job_flags & JOB_CREW_MEMBER))
return

..()
return ..()

0 comments on commit 2e716f7

Please sign in to comment.