summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-28 03:21:28 +0200
committerGitHub <noreply@github.com>2020-06-28 03:21:28 +0200
commit9b22213254d64b2c155c6700030303852fd5b912 (patch)
tree7eb4047ade3194749eee98d62beca06fdf820a39 /src/map/script.c
parent44513531ea39c6bdb464ef74ef60a21d70084904 (diff)
parent1d00e2268b7a20077d9d61dc8989b9f770344e59 (diff)
downloadhercules-9b22213254d64b2c155c6700030303852fd5b912.tar.gz
hercules-9b22213254d64b2c155c6700030303852fd5b912.tar.bz2
hercules-9b22213254d64b2c155c6700030303852fd5b912.tar.xz
hercules-9b22213254d64b2c155c6700030303852fd5b912.zip
Merge pull request #2775 from Kenpachi2k13/megaphone
Fix Megaphone behaviour
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a8fee9076..b49844320 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -12574,6 +12574,8 @@ static BUILDIN(loudhailer)
clif->broadcast(&sd->bl, mes_formatted, (int)len_formatted, BC_MEGAPHONE, ALL_CLIENT);
+ sd->state.using_megaphone = 0;
+
return true;
}