summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r--world/map/npc/functions/global_event_handler.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index dab56fde..690b0566 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -38,6 +38,10 @@ OnPCDieEvent:
set @killerrid, 0; // reset killer rid
end;
+OnPCLogoutEvent:
+ callfunc "VaultLogout";
+ end;
+
OnInit:
callfunc "ClearGlobalVars";
callfunc "MOTD"; // set the MOTD array