mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
Fixes a grinder bug with "anchored" trash contents
Not sure how many other random items might have "anchored" items inside them, but bullet casings are definitely one of those, containing anchored projectiles that would linger on the tile, ready to magdump themselves into the next unlucky person to step in.
This commit is contained in:
@@ -77,6 +77,8 @@
|
||||
items_taken++
|
||||
break
|
||||
for(var/atom/movable/C in A.contents)
|
||||
if(C.anchored)
|
||||
C.anchored = FALSE
|
||||
C.forceMove(loc)
|
||||
if(isitem(A))
|
||||
A.SpinAnimation(5,3)
|
||||
@@ -115,4 +117,4 @@
|
||||
return
|
||||
else
|
||||
to_chat(user, "Unable to empty filter while the machine is running.")
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user