mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Add fingerprints before putting item in hand (#61330)
Fixes runtimes when crafting stack items and already having a matching stack in your hand
This commit is contained in:
@@ -289,9 +289,9 @@
|
||||
if(QDELETED(O))
|
||||
return //It's a stack and has already been merged
|
||||
|
||||
O.add_fingerprint(usr) //Add fingerprints first, otherwise O might already be deleted because of stack merging
|
||||
if(isitem(O))
|
||||
usr.put_in_hands(O)
|
||||
O.add_fingerprint(usr)
|
||||
|
||||
//BubbleWrap - so newly formed boxes are empty
|
||||
if(istype(O, /obj/item/storage))
|
||||
|
||||
Reference in New Issue
Block a user