]> git.lizzy.rs Git - elidragon_v2.git/blobdiff - mods/elidragon_request/init.lua
Fix error in elidragon_request
[elidragon_v2.git] / mods / elidragon_request / init.lua
index 4ee76c55aa4c9a84959b683ba133fb727fd9d18e..5f89efcc59981a5310bee697b1c060c17e600d22 100644 (file)
@@ -1,7 +1,7 @@
 local request = {}
 
 function request.register(def)
-       local sysname, description, progressive, preposition, func = def.name, def.description, def.progressive, def.func
+       local sysname, description, progressive, preposition, func = def.name, def.description, def.progressive, def.preposition, def.func
        local desc_capitalized = (description:sub(1, 1)):upper() .. description:sub(2)
 
        local request_pool = {}