Skip to content

Commit

Permalink
[MODULAR] Fixes appendix related runtime (#830)
Browse files Browse the repository at this point in the history
Fixes appendix related runtime

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
Steals-The-PRs and vinylspiders authored Nov 26, 2023
1 parent fb6a74f commit 5989855
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 5989855

Please sign in to comment.