diff options
Diffstat (limited to 'data/scripts/libtmw.lua')
-rw-r--r-- | data/scripts/libtmw.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/scripts/libtmw.lua b/data/scripts/libtmw.lua index c4a14b6f..441ec26f 100644 --- a/data/scripts/libtmw.lua +++ b/data/scripts/libtmw.lua @@ -2,6 +2,11 @@ -- Support code -- ------------------ +local npcs = {} +local states = {} +local init_fun = {} +local timer + function create_npc(id, x, y, handler) local npc = tmw.obj_create_npc(id, x, y) npcs[npc] = handler @@ -104,8 +109,3 @@ function initialize() end init_fun = nil end - -npcs = {} -states = {} -init_fun = {} - |