fixed transformations causing flickering due to missing table
This commit is contained in:
1 parent
73b10108c3
commit
0ad3092f2b
1 file changed
+4
-1
+4
-1
@@ -1710,7 +1710,10 @@ function EID:evaluateTransformationProgress(transformation)
|
||||
if activesTable[tostring(eSubType)] then
|
||||
EID.TransformationProgress[i][transformation] = EID.TransformationProgress[i][transformation] + activesTable[tostring(eSubType)]
|
||||
else
|
||||
local collCount = player:GetCollectibleNum(eSubType, true) - (EID.PlayerItemInteractions[i].rerollItems[tostring(eSubType)] or 0)
|
||||
local collCount = player:GetCollectibleNum(eSubType, true)
|
||||
if EID.PlayerItemInteractions[i].rerollItems then
|
||||
collCount = collCount - (EID.PlayerItemInteractions[i].rerollItems[tostring(eSubType)] or 0)
|
||||
end
|
||||
EID.TransformationProgress[i][transformation] = EID.TransformationProgress[i][transformation] + collCount
|
||||
|
||||
-- Undo the Book of Virtues active item getting counted here
|
||||
|
||||
Reference in new issue
Block a user