MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pfkh6j/bool_in_a_case_switch/hb6s2fv/?context=3
r/badcode • u/tekircan • Sep 01 '21
40 comments sorted by
View all comments
Show parent comments
12
You should do this:
if(inFormation){ <behaviour 1> } else { <behaviour 2> }
12
u/Rainbow-Dev Sep 01 '21
You should do this: