Fixes a few runtimes (#23264)

* The fixes

* This probably has a worse underlying cause

* Update code/modules/paperwork/paper.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Cotnra review

* Contra review

* Removes nullcheck

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
DGamerL
2023-11-15 18:01:55 +01:00
committed by GitHub
parent 0bf67f14a7
commit fef021690e
4 changed files with 4 additions and 6 deletions

View File

@@ -231,7 +231,7 @@
if(Adjacent(user) && !opened)
if(HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || user.stat) // Don't use it if you're not able to! Checks for stuns, ghost and restrain
return
togglelock()
togglelock(user)
return
. = ..()