Merge pull request #184 from cave-story-randomizer/duncathan-patch-1

Fix error handling in TscFile:_getLabelPositionRange()
This commit is contained in:
duncathan salt 2024-12-18 15:25:03 -06:00 committed by GitHub
commit 5e6321dd55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ function TscFile:_getLabelPositionRange(label)
end
if labelStart == nil then
error(("%s: Could not find label: %s"):format(self.mapName, label))
error(("Could not find label: %s"):format(label))
labelStart = 1
end