Grass seed runtime fix

Fixes grass seeds causing a runtime when putting a stack through the seed extractor with only 1 tile left in the stack.
This commit is contained in:
Loganbacca
2014-11-30 00:11:47 +13:00
parent 6b50ada69b
commit 7a94f30da2
+1 -1
View File
@@ -37,7 +37,7 @@ obj/machinery/seed_extractor/attackby(var/obj/item/O as obj, var/mob/user as mob
else if(istype(O, /obj/item/stack/tile/grass))
var/obj/item/stack/tile/grass/S = O
if (S.use(1))
user << "<span class='notice'>You extract some seeds from the [S.name].</span>"
user << "<span class='notice'>You extract some seeds from the grass tile.</span>"
new /obj/item/seeds/grassseed(loc)
return