Skip to content

Commit

Permalink
Save another 37μs (free preformance!)
Browse files Browse the repository at this point in the history
  • Loading branch information
mystery3525 committed Aug 6, 2024
1 parent 5a920ac commit 38cd7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
cyclelinkedairlock.delayed_close_requested = TRUE
else
addtimer(CALLBACK(cyclelinkedairlock, PROC_REF(close)), 2)
if(locked && allowed(user) && aac)
if(locked && aac && allowed(user))
aac.request_from_door(src)
return
..()
Expand Down

0 comments on commit 38cd7d8

Please sign in to comment.