From 64194d52b8a90c217949561856c5ac959601226d Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 5 Jun 2015 11:04:08 +0800 Subject: fix #16 --- io/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io') diff --git a/io/init.lua b/io/init.lua index 9bbd51a..c151804 100644 --- a/io/init.lua +++ b/io/init.lua @@ -10,7 +10,7 @@ function nerv.ChunkFile:write_chunk(chunk) local id = chunk.id local type = chunk.__typename if id == nil then - nerv_error("id of chunk %s must be specified", type) + nerv.error("id of chunk %s must be specified", type) end self:write_chunkdata({id = id, type = type, -- cgit v1.2.3