mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-30 23:46:43 +01:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user