diff options
author | Determinant <[email protected]> | 2015-06-05 11:04:08 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-05 11:04:08 +0800 |
commit | 64194d52b8a90c217949561856c5ac959601226d (patch) | |
tree | 2bc1aa83d4dcc408ab6706aa63acec61dca3dd32 /io/init.lua | |
parent | 3bdb17da736a8fa15786c6d42aa19233c07e3f8a (diff) |
fix #16
Diffstat (limited to 'io/init.lua')
-rw-r--r-- | io/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, |