mob
Login()
switch(input("What chararcter class do you wish to be?") in list ("Knight", "Wizard"))
if("Knight")
src.ChooseCharacter()
if("Wizard")
src.ChooseCharacter()
proc
ChooseCharacter()
if("Knight")
icon='Players.dmi'
icon_state="Knight"
loc = locate(1,1,1)
if("Wizard")
icon='Players.dmi'
icon_state="Wizard"
loc = locate(1,1,1)
why when i pick knight it shows the wizard icon: