summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-03 00:18:22 +0200
committerGitHub <noreply@github.com>2019-06-03 00:18:22 +0200
commitd60605d1898d584e4ed527011ab65f35e2238b2f (patch)
tree78aebf10a2b435a2b0ff5593f0d4db775b47218b /src/map/itemdb.c
parent8226ed932ed4bea1da3bf1e5436272d73f2a8222 (diff)
parentd2b8463b7d2b64ab122e86b2f9e44cba0b680caf (diff)
downloadhercules-d60605d1898d584e4ed527011ab65f35e2238b2f.tar.gz
hercules-d60605d1898d584e4ed527011ab65f35e2238b2f.tar.bz2
hercules-d60605d1898d584e4ed527011ab65f35e2238b2f.tar.xz
hercules-d60605d1898d584e4ed527011ab65f35e2238b2f.zip
Merge pull request #2486 from guilherme-gm/minimal-loadoptions
Adds Option DB and Option Drop Groups DB to be loaded on minimal mode
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 11d778f8a..8caf88a4e 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -2449,6 +2449,8 @@ static void itemdb_read(bool minimal)
itemdb->other->foreach(itemdb->other, itemdb->addname_sub);
+ itemdb->read_options();
+
if (minimal)
return;
@@ -2458,7 +2460,6 @@ static void itemdb_read(bool minimal)
itemdb->read_groups();
itemdb->read_chains();
itemdb->read_packages();
- itemdb->read_options();
}
/**