mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
Fixes not being able to scoop up snow (#12060)
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
/turf/simulated/floor/outdoors/snow/sif/planetuse/attackby(var/obj/item/W, var/mob/user)
|
||||
if(istype(W, /obj/item/shovel))
|
||||
to_chat(user, span_notice("You begin to remove \the [src] with your [W]."))
|
||||
if(do_after(user, 4 SECONDS * W.toolspeed))
|
||||
if(do_after(user, 4 SECONDS * W.toolspeed, src))
|
||||
to_chat(user, span_notice("\The [src] has been dug up, and now lies in a pile nearby."))
|
||||
new /obj/item/stack/material/snow(src)
|
||||
demote()
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
/turf/simulated/floor/outdoors/snow/sif/planetuse/attack_hand(mob/user as mob)
|
||||
visible_message("[user] starts scooping up some snow.", "You start scooping up some snow.")
|
||||
if(do_after(user, 1 SECOND))
|
||||
if(do_after(user, 1 SECOND, src))
|
||||
var/obj/S = new /obj/item/stack/material/snow(user.loc)
|
||||
user.put_in_hands(S)
|
||||
visible_message("[user] scoops up a pile of snow.", "You scoop up a pile of snow.")
|
||||
|
||||
Reference in New Issue
Block a user