Skip to content

Commit

Permalink
dragonscript: fixed element id remapping bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LordOfDragons committed Nov 21, 2023
1 parent b174a44 commit 0d88505
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class GameWorldLoader
var UniqueID firstID = UniqueID.new(1)
if nextObjectID > firstID
if pIDGenerator.toUniqueID() > firstID
gameWorld.getUniqueIDRemapper().add(firstID, nextObjectID, pIDGenerator.toUniqueID() - firstID)
gameWorld.getUniqueIDRemapper().add(firstID, nextObjectID, pIDGenerator.toUniqueID())
end
pIDGenerator.incrementBy(nextObjectID - firstID)
end
Expand Down

0 comments on commit 0d88505

Please sign in to comment.