C
Join ServerC#
help
inaccessible code?
AAriieSiiS2/11/2023
Maybe I'm stupid and I don't see what's going on, but I got an "inaccessible code" error and I don't understand why.

Tthinker2272/11/2023
while (!true)
will never executeTthinker2272/11/2023
It'll come to the
while (!true)
statement, evaluate !true
, see that that's false, then just not run the while loopAAriieSiiS2/11/2023
ok i am stupid and forgot to change the variable name
AAriieSiiS2/11/2023
and put the true
AAriieSiiS2/11/2023
and not the name of the bool
AAriieSiiS2/11/2023
ty, i guess the answers is: yes, you are stupid
Tthinker2272/11/2023
everyone's stupid sometimes, no worries