summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-04-24 15:17:04 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-24 15:17:04 -0400
commit931217d3ba156cecb25fa647bc572630147e60fd (patch)
tree25f2e399205e3153b0df8b862d1c213aab029d15 /world/map/npc/functions/clear_vars.txt
parente8a1900fc0651a3ee74ce4cbe181fce2851f6420 (diff)
downloadserverdata-931217d3ba156cecb25fa647bc572630147e60fd.tar.gz
serverdata-931217d3ba156cecb25fa647bc572630147e60fd.tar.bz2
serverdata-931217d3ba156cecb25fa647bc572630147e60fd.tar.xz
serverdata-931217d3ba156cecb25fa647bc572630147e60fd.zip
clean global handler
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-rw-r--r--world/map/npc/functions/clear_vars.txt5
1 files changed, 4 insertions, 1 deletions
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;
}