diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 8b6eb4267..341fa67c5 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10396,7 +10396,10 @@ void clif_parse_GMKick(int fd, struct map_session_data *sd) lv = get_atcommand_level(atcommand_unloadnpc); if( pc_isGM(sd) < lv ) return; + // copy-pasted from atcommand_unloadnpc + npc_unload_duplicates(nd); npc_unload(nd); + npc_read_event_script(); if( log_config.gm && lv >= log_config.gm ) { char message[256]; sprintf(message, "/kick %s (%d)", status_get_name(target), status_get_class(target)); |