diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-06-08 10:22:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-06-16 03:43:43 +0300 |
commit | 3f90a0ffa8728d5cda375d9e1f5a6d53c112db30 (patch) | |
tree | c0586bb2f9e51fdf49e14167bab38ef44ad3497a | |
parent | 4310e652e08c43531ffa2d190ca24b8c1cf412ad (diff) | |
download | hercules-3f90a0ffa8728d5cda375d9e1f5a6d53c112db30.tar.gz hercules-3f90a0ffa8728d5cda375d9e1f5a6d53c112db30.tar.bz2 hercules-3f90a0ffa8728d5cda375d9e1f5a6d53c112db30.tar.xz hercules-3f90a0ffa8728d5cda375d9e1f5a6d53c112db30.zip |
Read battle config in minimal run
This allow fix warnings in different service plugins.
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 24d571498..644994c09 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -6691,6 +6691,8 @@ int do_init(int argc, char *argv[]) atcommand->msg_read(map->MSG_CONF_NAME, false); map->inter_config_read(map->INTER_CONF_NAME, false); logs->config_read(map->LOG_CONF_NAME, false); + } else { + battle->config_read(map->BATTLE_CONF_FILENAME, false); } script->config_read(map->SCRIPT_CONF_NAME, false); |