Stack splitting and cable merging fixes.

Split stacks will now keep the same colors.
Can now only join cables of the same color together, unless you are a borg.
This commit is contained in:
PsiOmegaDelta
2015-06-04 13:24:12 +02:00
parent 5fd97e6dfd
commit 65fc980b20
2 changed files with 12 additions and 0 deletions

View File

@@ -252,6 +252,7 @@
var/orig_amount = src.amount
if (transfer && src.use(transfer))
var/obj/item/stack/newstack = new src.type(loc, transfer)
newstack.color = color
if (prob(transfer/orig_amount * 100))
transfer_fingerprints_to(newstack)
if(blood_DNA)