Fixed TK butchering after item loses adjacency (#1011)

This commit is contained in:
CitadelStationBot
2017-05-18 12:33:27 -05:00
committed by Poojawa
parent 397e230b81
commit e0a1c24367
+1 -1
View File
@@ -28,7 +28,7 @@
if(sharpness)
to_chat(user, "<span class='notice'>You begin to butcher [src]...</span>")
playsound(loc, 'sound/weapons/slice.ogg', 50, 1, -1)
if(do_mob(user, src, 80/sharpness))
if(do_mob(user, src, 80/sharpness) && Adjacent(I))
harvest(user)
return 1
return I.attack(src, user)