From 4edd2cca4ff69edca3b222b80fb67a721808c441 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 1 Feb 2008 08:05:54 +0000 Subject: 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 --- src/map/atcommand.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map') 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; } -- cgit v1.2.3-70-g09d2