summaryrefslogtreecommitdiffstats
path: root/scripts/lua/libmana.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lua/libmana.lua')
-rw-r--r--scripts/lua/libmana.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lua/libmana.lua b/scripts/lua/libmana.lua
index d0d8666..361fd7d 100644
--- a/scripts/lua/libmana.lua
+++ b/scripts/lua/libmana.lua
@@ -40,8 +40,8 @@ local timer
-- Creates an NPC and associates the given handler.
-- Note: Cannot be called until map initialization has started.
-function create_npc(name, id, x, y, talkfunct, updatefunct)
- local npc = mana.npc_create(name, id, x, y)
+function create_npc(name, id, gender, x, y, talkfunct, updatefunct)
+ local npc = mana.npc_create(name, id, gender, x, y)
if talkfunct then
npc_talk_functs[npc] = function(npc, ch)
talkfunct(npc, ch)