mirror of
https://github.com/AntumMT/mod-wdata.git
synced 2024-07-04 15:05:19 +02:00
Fix function declaration
This commit is contained in:
parent
06827893fb
commit
a589077307
2
init.lua
2
init.lua
@ -3,7 +3,7 @@ wconfig = {}
|
||||
wconfig.modname = core.get_current_modname()
|
||||
wconfig.modpath = core.get_modpath(wconfig.modname)
|
||||
|
||||
wconfig.log(lvl, msg)
|
||||
function wconfig.log(lvl, msg)
|
||||
if not msg then
|
||||
msg = lvl
|
||||
lvl = nil
|
||||
|
Loading…
Reference in New Issue
Block a user