Fixed effect descriptions not working anymore

This commit is contained in:
Wofsauge committed 2021-05-23 19:30:08 +02:00
1 parent be55933561
commit 1ec5c6febf
2 files changed
+13 -15

No files matched your search

+1
View File
@@ -460,6 +460,7 @@ 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