aboutsummaryrefslogtreecommitdiff
path: root/io/init.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-01 17:37:13 +0800
committerDeterminant <[email protected]>2015-06-01 17:37:13 +0800
commita309ce5e33b22030bcac348c63576187676abee3 (patch)
treeb43714a53b8f78a12a52cb0ee88c6ed7be786cac /io/init.lua
parentab12a9583bdd39884fde9bc2444e6fd1bc5f518e (diff)
add expand_frm, rearrange_frm, scale_row
Diffstat (limited to 'io/init.lua')
-rw-r--r--io/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/init.lua b/io/init.lua
index 8c3701e..7c312f4 100644
--- a/io/init.lua
+++ b/io/init.lua
@@ -20,7 +20,7 @@ end
function nerv.ChunkFile:read_chunk(id, global_conf)
local metadata = self.metadata[id]
if metadata == nil then
- nerv_error("chunk with id %s does not exist", id)
+ nerv.error("chunk with id %s does not exist", id)
end
local chunk_type = assert(loadstring("return " .. metadata.type))()
local chunk = chunk_type(id, global_conf)