summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-07 01:22:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-07 01:22:50 +0300
commitb30129688a0e8b6e353447d7af579a6b2c2505c8 (patch)
treecbdeb4f5c6a45b93fbe975fddfcd65df434601d2 /src/map/init.c
parentd808fef992c2f37bd89fd8336f20cf587016e5a9 (diff)
downloadevol-hercules-b30129688a0e8b6e353447d7af579a6b2c2505c8.tar.gz
evol-hercules-b30129688a0e8b6e353447d7af579a6b2c2505c8.tar.bz2
evol-hercules-b30129688a0e8b6e353447d7af579a6b2c2505c8.tar.xz
evol-hercules-b30129688a0e8b6e353447d7af579a6b2c2505c8.zip
Impliment script function getlang.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/init.c b/src/map/init.c
index df5e903..77b19fd 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -48,7 +48,7 @@ HPExport void plugin_init (void) {
addScriptCommand("shop", "s", dummy);
addScriptCommand("getitemlink", "s", dummyStr);
addScriptCommand("l", "s*", l);
- addScriptCommand("getlang", "*", dummyStr);
+ addScriptCommand("getlang", "", getLang);
addScriptCommand("setlang", "i", dummy);
addScriptCommand("requestlang", "*", dummy);
addScriptCommand("getq", "i", dummyInt);