diff options
author | Haru <haru@dotalux.com> | 2020-06-01 04:01:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 04:01:16 +0200 |
commit | b9f7d1439c84b64facaf7d2875adc29110c65cf4 (patch) | |
tree | 808162f3083ac05b3221c7ffcdb4e52ffd4fb90a /src/map/atcommand.c | |
parent | 6188b2eb25c9fdcd33cfbef50e3dd41774f37994 (diff) | |
parent | 410e04c2562f7d7dd9a2f242d6ef821dbe0b2fc5 (diff) | |
download | hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.tar.gz hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.tar.bz2 hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.tar.xz hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.zip |
Merge pull request #2713 from 4144/updatepackets
Update packets up to 2020-05-20
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 54cc9e2c9..76448b237 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4499,6 +4499,7 @@ ACMD(loadnpc) // add to list of script sources and run it npc->addsrcfile(message); npc->parsesrcfile(message,true); + npc->motd = npc->name2id("HerculesMOTD"); npc->read_event_script(); clif->message(fd, msg_fd(fd,262)); @@ -4533,6 +4534,7 @@ ACMD(unloadnpc) npc->unload_duplicates(nd, (flag != 0)); npc->unload(nd, true, (flag != 0)); + npc->motd = npc->name2id("HerculesMOTD"); npc->read_event_script(); clif->message(fd, msg_fd(fd, 112)); /// Npc Disabled. return true; @@ -4588,6 +4590,7 @@ ACMD(reloadnpc) clif->message(fd, msg_fd(fd, 1386)); /// File unloaded. Be aware that... npc->addsrcfile(file_path); npc->parsesrcfile(file_path, true); + npc->motd = npc->name2id("HerculesMOTD"); npc->read_event_script(); clif->message(fd, msg_fd(fd, 262)); /// Script loaded. return true; |