2021-08-25 15:58:35 (UTC-03:00)
Marcel Rodrigues <marcelgmr@gmail.com>
fix name bug on error message
diff --git a/map.lua b/map.lua index 76573be..4d63ecd 100644 --- a/map.lua +++ b/map.lua @@ -362,7 +362,7 @@ function Cache:get_polys(key) cache:seek("cur", 4) ckey = cache:read(16) end - assert(offset > 0, ("key '%s' not found in cache '%s'"):format(key, fname)) + assert(offset > 0, ("key '%s' not found in cache"):format(key)) cache:seek("set", offset) local npolys = bio.read_beu16(cache) return function()