mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2025-03-26 03:49:46 +00:00
Merge pull request #184 from cave-story-randomizer/duncathan-patch-1
Fix error handling in TscFile:_getLabelPositionRange()
This commit is contained in:
commit
5e6321dd55
|
@ -112,7 +112,7 @@ function TscFile:_getLabelPositionRange(label)
|
||||||
end
|
end
|
||||||
|
|
||||||
if labelStart == nil then
|
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
|
labelStart = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue