summaryrefslogtreecommitdiff
path: root/data/scripts
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-06-02 16:53:57 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-06-02 16:53:57 +0000
commit33d5ea3261e70cba7e0f4af5c1e6eb070f168112 (patch)
tree8cb2bf9a5b52edb5fe38a4e3e03c39413ac5c19e /data/scripts
parentd828101f448520c191124f92d710ac5c3099529f (diff)
downloadmanaserv-33d5ea3261e70cba7e0f4af5c1e6eb070f168112.tar.gz
manaserv-33d5ea3261e70cba7e0f4af5c1e6eb070f168112.tar.bz2
manaserv-33d5ea3261e70cba7e0f4af5c1e6eb070f168112.tar.xz
manaserv-33d5ea3261e70cba7e0f4af5c1e6eb070f168112.zip
Removed the unused "npc" argument from the get_quest_var function.
Diffstat (limited to 'data/scripts')
-rw-r--r--data/scripts/libtmw.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/scripts/libtmw.lua b/data/scripts/libtmw.lua
index 2471b7cf..e788a59b 100644
--- a/data/scripts/libtmw.lua
+++ b/data/scripts/libtmw.lua
@@ -91,7 +91,7 @@ end
-- Gets the value of a quest variable.
-- Calling this function while an acknowledment is pending is desirable, so
-- that lag cannot be perceived by the player.
-function get_quest_var(npc, ch, name)
+function get_quest_var(ch, name)
-- Query the server and return immediatly if a value is available.
local value = tmw.chr_get_quest(ch, name)
if value then return value end