diff options
author | cloudygoose <[email protected]> | 2015-06-02 11:14:18 +0800 |
---|---|---|
committer | cloudygoose <[email protected]> | 2015-06-02 11:14:18 +0800 |
commit | 2bb2076fe12deb3bf6a38bd2e192dca06c7736e0 (patch) | |
tree | 8d0ae95e5474eb70d86a000ccc0b38df017af3e0 /io | |
parent | 5e7fcdf4e5be450927764254d492d87349e4114e (diff) | |
parent | d0a3e02d1a25a681ac78fd66aedf63f96636f6d2 (diff) |
...
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'io')
-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 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) |