mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
[MIRROR] Shovel digging refactor (#12601)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Will
Cameron Lennox
parent
a62b9ed8fe
commit
4f342ca28f
@@ -382,6 +382,9 @@ GLOBAL_LIST_EMPTY(mining_overlay_cache)
|
||||
|
||||
if(istype(W, /obj/item/shovel))
|
||||
var/obj/item/shovel/S = W
|
||||
if(S.grave_mode)
|
||||
shovel_dig_grave(user, S)
|
||||
return
|
||||
valid_tool = 1
|
||||
digspeed = S.digspeed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user