mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fix #473 - Supply shuttle not deleting contents of crates
This commit is contained in:
@@ -265,7 +265,10 @@ var/list/mechtoys = list(
|
||||
if(istype(A, /obj/item/stack/sheet/mineral/plasma))
|
||||
var/obj/item/stack/sheet/mineral/plasma/P = A
|
||||
plasma_count += P.amount
|
||||
del(MA)
|
||||
|
||||
// Delete it. (Fixes github #473)
|
||||
qdel(A)
|
||||
qdel(MA)
|
||||
|
||||
if(plasma_count)
|
||||
points += Floor(plasma_count / plasma_per_point)
|
||||
|
||||
Reference in New Issue
Block a user