Verified Commit a27b2efc authored by gumi's avatar gumi

update scripts following a hardcoded enum change

parent 4baf33e5
Pipeline #139885584 passed with stages
in 23 minutes and 22 seconds
......@@ -10,7 +10,7 @@ function script BarberDebug {
menuint(
l("Male"), GENDER_MALE,
l("Female"), GENDER_FEMALE,
l("Non-binary"), GENDER_NONBINARY);
l("Non-binary"), GENDER_HIDDEN);
Gender = @menuret;
return;
......
......@@ -118,7 +118,7 @@ function script BarberChangeGender {
menuint(
l("Female"), GENDER_FEMALE,
l("Male"), GENDER_MALE,
l("Non-binary"), GENDER_NONBINARY);
l("Non-binary"), GENDER_HIDDEN);
Gender = @menuret;
return;
......
......@@ -2,7 +2,7 @@ function script stringToGender {
.@short$ = strtolower(charat(getarg(0, ""), 0));
return .@short$ == "f" ? GENDER_FEMALE :
.@short$ == "m" ? GENDER_MALE : GENDER_NONBINARY;
.@short$ == "m" ? GENDER_MALE : GENDER_HIDDEN;
}
function script genderToString {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment