aboutsummaryrefslogtreecommitdiff
path: root/io/init.lua
diff options
context:
space:
mode:
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 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,