Reverted Performance improvement, fixing description flickering, fixed dice room descriptions

This commit is contained in:
Wofsauge committed 2021-05-23 00:15:51 +02:00
1 parent c6e5b5726e
commit a86992ae7d
3 files changed
+44 -22

No files matched your search

-1
View File
@@ -459,7 +459,6 @@ function EID:hasDescription(entity)
isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_PILL and EID.Config["DisplayPillInfo"])
return isAllowed and entity.SubType > 0
end
isAllowed = isAllowed or (entity.Type == 1000 and entity.Variant == EffectVariant.DICE_FLOOR and EID.Config["DisplayDiceInfo"])
return isAllowed
end