diff options
Diffstat (limited to 'npc/commands/debug-look.txt')
-rw-r--r-- | npc/commands/debug-look.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/commands/debug-look.txt b/npc/commands/debug-look.txt index a3ea32090..38261f60f 100644 --- a/npc/commands/debug-look.txt +++ b/npc/commands/debug-look.txt @@ -3,19 +3,22 @@ function script BarberDebug { function setGender { clear; setnpcdialogtitle l("Appearance Debug - Sex Change"); + @menuret=99; + /* mes l("Please choose the desired gender:"); next; menuint l("Male"), G_MALE, l("Female"), G_FEMALE, l("Legacy"), 99; + */ if (@menuret == 99) { closedialog; changecharsex; } else { //setparam(Sex, @menuret); - query_sql("UPDATE `char` SET `Sex`="+@menuret+" WHERE `char_id`="+getcharid(0)); + //query_sql("UPDATE `char` SET `Sex`="+@menuret+" WHERE `char_id`="+getcharid(0)); return; } } |