From 931217d3ba156cecb25fa647bc572630147e60fd Mon Sep 17 00:00:00 2001 From: mekolat Date: Fri, 24 Apr 2015 15:17:04 -0400 Subject: clean global handler --- world/map/npc/functions/clear_vars.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'world/map/npc/functions/clear_vars.txt') diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt index c894586b..0b363e31 100644 --- a/world/map/npc/functions/clear_vars.txt +++ b/world/map/npc/functions/clear_vars.txt @@ -257,6 +257,10 @@ L_Barber_Janitor: callfunc "getHeadStyles"; // this converts class, color and hair goto L_Return; +L_Misc: + if(Death_Kill) set Death_Kill, 0; + goto L_Return; + L_Return: return; } @@ -387,6 +391,5 @@ L_EventClear: // Variable was used in Voltain's script, was renamed and turned into a temporary variable set $state, 0; - end; } -- cgit v1.2.3-70-g09d2