From 1a632137db03c67792f8fd988aa65b2646b9ca3b Mon Sep 17 00:00:00 2001 From: duncathan salt Date: Wed, 18 Dec 2024 15:24:06 -0600 Subject: [PATCH] Fix error handling in TscFile:_getLabelPositionRange() Fixes #180 --- caver/tsc_file.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caver/tsc_file.lua b/caver/tsc_file.lua index adc8fa0..5002b8c 100644 --- a/caver/tsc_file.lua +++ b/caver/tsc_file.lua @@ -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