aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/init.lua b/io/init.lua
index 2fa38e6..d96f062 100644
--- a/io/init.lua
+++ b/io/init.lua
@@ -25,4 +25,5 @@ function nerv.ParamFile:read_param(id)
local param = assert(loadstring("return " .. metadata.type .. "(" .. id .. ")"))()
param:set_info(metadata.info)
param:read(self:get_chunkdata(id))
+ return param
end