mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +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>"
|
||||
else if(istype(C, /obj/item/weapon/pickaxe/shovel))
|
||||
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) //Make some sand if you shovel grass
|
||||
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
|
||||
|
||||
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>"
|
||||
gets_dug()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user