summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 510d40b..647f56a 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -361,8 +361,8 @@ HPExport void plugin_init (void)
itemdb->isidentified = eitemdb_isidentified;
itemdb->isidentified2 = eitemdb_isidentified2;
- langScriptId = script->add_str("Lang");
- mountScriptId = script->add_str("mount");
+ langScriptId = script->add_variable("Lang");
+ mountScriptId = script->add_variable("mount");
isInit = true;
}