Spindown dice results no longer get calculated for TMTrainer items

This commit is contained in:
Wofsauge committed 2021-07-20 19:05:32 +02:00
1 parent 5e3c939b94
commit a4f6098704
1 file changed
+2 -2
+2 -2
View File
@@ -78,8 +78,8 @@ local game = Game()
spinnedID = EID:getSpindownResult(refID)
end
refID = spinnedID
if spinnedID > 0 then
EID:appendToDescription(descObj, "{{Collectible"..spinnedID.."}}")
if refID > 0 and refID < 4294960000 then
EID:appendToDescription(descObj, "{{Collectible"..refID.."}}")
if i ~= EID.Config["SpindownDiceResults"] then
EID:appendToDescription(descObj, " ->")
end