diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-01 08:05:54 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-01 08:05:54 +0000 |
commit | 4edd2cca4ff69edca3b222b80fb67a721808c441 (patch) | |
tree | eeb20ca508fd91694bd35c2c618e23acbfda4a41 | |
parent | a750e617bbff351a9d82748c9b42d3ff453b762f (diff) | |
download | hercules-4edd2cca4ff69edca3b222b80fb67a721808c441.tar.gz hercules-4edd2cca4ff69edca3b222b80fb67a721808c441.tar.bz2 hercules-4edd2cca4ff69edca3b222b80fb67a721808c441.tar.xz hercules-4edd2cca4ff69edca3b222b80fb67a721808c441.zip |
Added a missing script On-events index refresh operation after a npc is unloaded using @unloadnpc (bugreport:9)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12160 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/atcommand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index fcba7b5dd..f13306fed 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4777,6 +4777,7 @@ int atcommand_unloadnpc(const int fd, struct map_session_data* sd, const char* c npc_unload_duplicates(nd); npc_unload(nd); + npc_read_event_script(); clif_displaymessage(fd, msg_txt(112)); // Npc Disabled. return 0; } |