I suppose I am asking for further help understanding when expressions. In the above code snippet, not only does IS_BLESSED (line 40) not print, but "UNKNOWN RACE" in line 25 always prints. But if race is assigned to orc, and the when expression checks for race, why doesnt it print HILL_PEOPLE?
g
gildor
04/30/2019, 12:41 AM
Your when check has space after race name
d
Dangelomjoyce
04/30/2019, 12:44 AM
I don't understand what you mean.
Dangelomjoyce
04/30/2019, 12:47 AM
oooooooh, okay
Dangelomjoyce
04/30/2019, 12:48 AM
"str" =/= "str "
Dangelomjoyce
04/30/2019, 12:49 AM
Thanks you! such a rookie mistake
👍 1
s
Schadenfreude
04/30/2019, 7:58 AM
@Dangelomjoyce, what engine are you using for the game?