Skip to content

Commit

Permalink
[s] Fixes an infinite sand/ORM exploit with grass tiles and shovels (P…
Browse files Browse the repository at this point in the history
…aradiseSS13#22525)

* Fixes an infinite sand exploit with grass tiles

* Readds shovel functionality

---------

Co-authored-by: Miraviel <[email protected]>
  • Loading branch information
2 people authored and Furrior committed Sep 23, 2023
1 parent a8f36de commit b4bef7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/game/turfs/simulated/floor/fancy_floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@
if(..())
return
if(istype(C, /obj/item/shovel))
new /obj/item/stack/ore/glass(src, 2) //Make some sand if you shovel grass
to_chat(user, "<span class='notice'>You shovel the grass.</span>")
playsound(src, 'sound/effects/shovel_dig.ogg', 50, 1)
make_plating()
remove_tile()

/turf/simulated/floor/grass/jungle
name = "jungle grass"
Expand Down

0 comments on commit b4bef7b

Please sign in to comment.