summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-08 13:46:52 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-16 05:10:55 +0300
commita496359909959ae1dca2c95e830c63aa37f714d5 (patch)
tree8b3bfaf9fe949f96b5ec952d79833ce11e9fb584 /src/map/battle.c
parentad15a28454e81aa1258868a5002eab0c31fabf2f (diff)
downloadhercules-a496359909959ae1dca2c95e830c63aa37f714d5.tar.gz
hercules-a496359909959ae1dca2c95e830c63aa37f714d5.tar.bz2
hercules-a496359909959ae1dca2c95e830c63aa37f714d5.tar.xz
hercules-a496359909959ae1dca2c95e830c63aa37f714d5.zip
Call all plugin events even if map server running in minimal mode
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 611154953..d8c1be83e 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7681,6 +7681,8 @@ static void do_init_battle(bool minimal)
static void do_final_battle(void)
{
+ if (map->minimal)
+ return;
ers_destroy(battle->delay_damage_ers);
}