summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 6d5190d6e..691cf2560 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4548,7 +4548,7 @@ ACMD_FUNC(unloadnpc)
}
npc_unload_duplicates(nd);
- npc_unload(nd);
+ npc_unload(nd,true);
npc_read_event_script();
clif_displaymessage(fd, msg_txt(112)); // Npc Disabled.
return 0;