summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index b63fb28f..f94e7fc8 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -15,7 +15,7 @@ OnPCLoginEvent:
end;
OnPCLogoutEvent:
- GM = 0;
+ FlushVariables();
vaultOnLogout();
end;