mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Merge pull request #6509 from eswordthecat/remove-area-error
This kills, ## ERROR: Mine is an area and is trying to make the sound…
This commit is contained in:
@@ -571,7 +571,7 @@ turf/simulated/floor/proc/update_icon()
|
|||||||
user << "<span class='warning'>You must remove the plating first.</span>"
|
user << "<span class='warning'>You must remove the plating first.</span>"
|
||||||
else if(istype(C, /obj/item/weapon/pickaxe/shovel))
|
else if(istype(C, /obj/item/weapon/pickaxe/shovel))
|
||||||
if(is_grass_floor())
|
if(is_grass_floor())
|
||||||
playsound(loc, 'sound/items/shovel.ogg', 50, 1)
|
playsound(src, 'sound/items/shovel.ogg', 50, 1)
|
||||||
new /obj/item/weapon/ore/glass(src)
|
new /obj/item/weapon/ore/glass(src)
|
||||||
new /obj/item/weapon/ore/glass(src) //Make some sand if you shovel grass
|
new /obj/item/weapon/ore/glass(src) //Make some sand if you shovel grass
|
||||||
user << "<span class='notice'>You shovel the grass.</span>"
|
user << "<span class='notice'>You shovel the grass.</span>"
|
||||||
|
|||||||
@@ -541,7 +541,7 @@
|
|||||||
playsound(get_turf(src), 'sound/effects/rustle1.ogg', 50, 1) //russle sounds sounded better
|
playsound(get_turf(src), 'sound/effects/rustle1.ogg', 50, 1) //russle sounds sounded better
|
||||||
|
|
||||||
if(do_after(user, used_digging.digspeed) && user) //the better the drill, the faster the digging
|
if(do_after(user, used_digging.digspeed) && user) //the better the drill, the faster the digging
|
||||||
playsound(loc, 'sound/items/shovel.ogg', 50, 1)
|
playsound(src, 'sound/items/shovel.ogg', 50, 1)
|
||||||
user << "<span class='notice'>You dug a hole.</span>"
|
user << "<span class='notice'>You dug a hole.</span>"
|
||||||
gets_dug()
|
gets_dug()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user