Skip to content

Commit

Permalink
Fix for Error 337
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Jun 26, 2023
1 parent d7673bc commit 6c10017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/ARES/ARES_step_triggers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
idcard = locate(/obj/item/card/id) in holder.contents
if(idcard)
break
if(!istype(idcard))
if(!istype(idcard) && ismob(passer))
Trigger(passer, failure = TRUE)
return FALSE
if(!(ACCESS_MARINE_AI_TEMP in idcard.access))//No temp access, don't care
Expand Down

0 comments on commit 6c10017

Please sign in to comment.