Grille Unscrew Fix (#10349)

This commit is contained in:
Geeves
2020-10-26 09:03:33 +01:00
committed by GitHub
parent 14f02fbd38
commit ccfca6c124
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -114,6 +114,7 @@
anchored = !anchored
user.visible_message("<span class='notice'>[user] [anchored ? "fastens" : "unfastens"] the grille.</span>", \
"<span class='notice'>You have [anchored ? "fastened the grille to" : "unfastened the grill from"] the floor.</span>")
return
else if(istype(W,/obj/item/stack/rods) && destroyed == 1)
if(!shock(user, 90))
var/obj/item/stack/rods/ROD = W