C
C#10mo ago
daniel2

if statement is being weird

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

Did you find this page helpful?