C
C#12mo ago
daniel2

if statement is being weird

No description
5 Replies
daniel2
daniel2OP12mo ago
the expression is flase, why the code inside is still being executed?
Angius
Angius12mo ago
Check what is null here, exactly
daniel2
daniel2OP12mo ago
No description
daniel2
daniel2OP12mo ago
i think is tile.piece is null
Angius
Angius12mo ago
Weird, you do guard against that...

Did you find this page helpful?