From 5c60d497777317acfdab05bd115bb3ecd0583c92 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Apr 2021 00:15:26 -0300 Subject: Fake destroy() function --- npc/functions/main.txt | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3-60-g2f50