diff options
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index 1bc4c37b..450d7a39 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -507,6 +507,9 @@ function script destroy { function script npcaction { debugmes "Deprecated unitaction (did you mean npcsit; or whatever?)"; + .@a=getarg(0, 0); + if (.@a == 9) + clear; return; } |