summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2014-10-28 15:25:48 -0400
committermekolat <mekolat@gmail.com>2014-10-28 15:25:48 -0400
commit9d713f3187973768c6b1ba4fbf0c7bb68eb25137 (patch)
treee6b7cfac8ceb5376cafd1d99b98ffa1a6142ccfb /world/map/npc/functions
parentf3439fef34f5b7ca279028e2e1021c7c6443f625 (diff)
downloadserverdata-9d713f3187973768c6b1ba4fbf0c7bb68eb25137.tar.gz
serverdata-9d713f3187973768c6b1ba4fbf0c7bb68eb25137.tar.bz2
serverdata-9d713f3187973768c6b1ba4fbf0c7bb68eb25137.tar.xz
serverdata-9d713f3187973768c6b1ba4fbf0c7bb68eb25137.zip
put barber janitor into clearvars
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r--world/map/npc/functions/clear_vars.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index 0a0247b7..588c22d5 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -251,6 +251,10 @@ L_Fix_Skills:
if(getskilllv(SKILL_TRADE) > 0) setskill SKILL_TRADE, 0;
if(getskilllv(SKILL_PARTY) > 0) setskill SKILL_PARTY, 0;
if(getskilllv(SKILL_EMOTE) > 0) setskill SKILL_EMOTE, 0;
+ goto L_Barber_Janitor;
+
+L_Barber_Janitor:
+ callfunc "getHeadStyles"; // this converts class, color and hair
goto L_Return;
L_Return: