Fixes two admin bugs

This commit is contained in:
Heroman
2022-12-31 14:18:17 +10:00
parent f9bfe4cb44
commit 21fa63b533
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ var/list/global/slot_flags_enumeration = list(
//Next check if the slot is accessible.
var/mob/_user = disable_warning? null : H
if(!H.slot_is_accessible(slot, src, _user) && !ignore_obstruction)
if(!ignore_obstruction && !H.slot_is_accessible(slot, src, _user))
return 0
//Lastly, check special rules for the desired slot.