Allows ghosts to examine ore box contents (#19097)

Removes a check to see if the user is a human/robot mob, and allows
anyone to view the contents, still must be adjacent but that's not an
issue for ghosts
This commit is contained in:
Jason
2024-05-09 10:06:57 -05:00
committed by GitHub
parent 944bc50a7c
commit a3f3fa1a2f
2 changed files with 58 additions and 3 deletions
-3
View File
@@ -73,9 +73,6 @@
/obj/structure/ore_box/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
// Borgs can now check contents too.
if(!ishuman(user) && !isrobot(user))
return
if(!is_adjacent) //Can only check the contents of ore boxes if you can physically reach them.
return