mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Mirrors 72397 (#18646)
Boxes created through the crafting menu no longer spawn with their contents full (#72397) ## About The Pull Request What it says on the tin. Since the contents weren't emptied you could get infinite beakers, donk pockets, chicken nuggets etc. by making and remaking a box over and over. Fixes #72385. ## Why It's Good For The Game Bugfix. The world does not deserve infinite chicken nuggets yet ## Changelog 🆑 fix: Boxes created through the crafting menu no longer spawn with their contents full /🆑 Co-authored-by: A miscellaneous Fern <80640114+FernandoJ8@users.noreply.github.com>
This commit is contained in:
co-authored by
A miscellaneous Fern
parent
ca3fb2aea6
commit
e1e52c17b7
@@ -184,6 +184,9 @@
|
||||
I = new R.result (get_turf(a.loc), R.result_amount || 1)
|
||||
else
|
||||
I = new R.result (get_turf(a.loc))
|
||||
if(I.atom_storage)
|
||||
for(var/obj/item/thing in I)
|
||||
qdel(thing)
|
||||
I.CheckParts(parts, R)
|
||||
if(send_feedback)
|
||||
SSblackbox.record_feedback("tally", "object_crafted", 1, I.type)
|
||||
|
||||
Reference in New Issue
Block a user