summaryrefslogtreecommitdiff
path: root/npc/functions/barber.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/barber.txt')
-rw-r--r--npc/functions/barber.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt
index ee1687dc..1cded281 100644
--- a/npc/functions/barber.txt
+++ b/npc/functions/barber.txt
@@ -41,7 +41,7 @@ function script BarberChangeStyle {
for (.@i = 1; .@i < .@hairsizearray; .@i++)
{
.@menustr$ = .@menustr$
- + rif(.@get_look != .@i, l("" + $@hairstyle$[.@i] + ""))
+ + rif(.@get_look != .@i, l("" + $@hairstyle$[.@i] + ""))
+ ":";
}
@@ -82,7 +82,8 @@ function script BarberChangeColor {
for (.@i = 0; .@i < .@hairsizearray; .@i++)
{
.@menustr$ = .@menustr$
- + rif(.@get_look != .@i, l("" + $@haircolor$[.@i] + ""))
+ + rif(.@get_look != .@i && .@i != HC_PURPLE,
+ l("" + $@haircolor$[.@i] + ""))
+ ":";
}