summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/main.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index bbd119e0..a3e222e8 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -496,6 +496,11 @@ function script mapexit {
return;
}
+function script destroy {
+ disablenpc strnpcinfo(0);
+ return;
+}
+
function script npcaction {
debugmes "Deprecated unitaction (did you mean npcsit; or whatever?)";
return;