Spindown dice results no longer get calculated for TMTrainer items
This commit is contained in:
1 parent
5e3c939b94
commit
a4f6098704
1 file changed
+2
-2
+2
-2
@@ -78,8 +78,8 @@ local game = Game()
|
|||||||
spinnedID = EID:getSpindownResult(refID)
|
spinnedID = EID:getSpindownResult(refID)
|
||||||
end
|
end
|
||||||
refID = spinnedID
|
refID = spinnedID
|
||||||
if spinnedID > 0 then
|
if refID > 0 and refID < 4294960000 then
|
||||||
EID:appendToDescription(descObj, "{{Collectible"..spinnedID.."}}")
|
EID:appendToDescription(descObj, "{{Collectible"..refID.."}}")
|
||||||
if i ~= EID.Config["SpindownDiceResults"] then
|
if i ~= EID.Config["SpindownDiceResults"] then
|
||||||
EID:appendToDescription(descObj, " ->")
|
EID:appendToDescription(descObj, " ->")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user