Fixed TK butchering after item loses adjacency (#1011)
This commit is contained in:
committed by
Poojawa
parent
397e230b81
commit
e0a1c24367
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user