Merge pull request #13658 from Heroman3003/stackruntime

fixes runtime with stack dna transfer
This commit is contained in:
Casey
2022-09-04 17:50:17 -04:00
committed by CHOMPStation2
parent 43928fcfb6
commit 8a0aef53f8
2 changed files with 7 additions and 4 deletions

View File

@@ -333,7 +333,10 @@
if (prob(transfer/orig_amount * 100))
transfer_fingerprints_to(S)
if(blood_DNA)
S.blood_DNA |= blood_DNA
if(S.blood_DNA)
S.blood_DNA |= blood_DNA
else
S.blood_DNA = blood_DNA.Copy()
return transfer
return 0