mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-30 03:52:52 +00:00
Splitting stacks no longer sometimes makes the new stack full. (#9604)
This commit is contained in:
@@ -274,7 +274,7 @@
|
||||
|
||||
var/orig_amount = src.get_amount()
|
||||
if (transfer && src.use(transfer))
|
||||
var/obj/item/stack/newstack = new src.type(loc, transfer)
|
||||
var/obj/item/stack/newstack = new src.stacktype(loc, transfer)
|
||||
newstack.color = color
|
||||
if (prob(transfer/orig_amount * 100))
|
||||
transfer_fingerprints_to(newstack)
|
||||
|
||||
Reference in New Issue
Block a user