summaryrefslogtreecommitdiff
path: root/npc/sample/monster_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'npc/sample/monster_controller.cpp')
-rw-r--r--npc/sample/monster_controller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/sample/monster_controller.cpp b/npc/sample/monster_controller.cpp
index 4953a12bb..76ba7ade3 100644
--- a/npc/sample/monster_controller.cpp
+++ b/npc/sample/monster_controller.cpp
@@ -87,6 +87,7 @@ prontera.gat,180,200,4 script Monster Controller 123,{
break;
case AI_ACTION_TYPE_DEAD:
set .@action_type$, "Killed by";
+ remove_mob .ai_action[AI_ACTION_SRC];
break;
case AI_ACTION_TYPE_ASSIST:
set .@action_type$, "Assisting";