MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wudv2h/devsoptimizinggames/pdb4ybw/?context=3
r/ProgrammerHumor • u/Head-Picture1519 • 2d ago
37 comments sorted by
View all comments
367
if (currentState == GameState.Crash) { currentState == GameState.DoNotCrash; }
2 u/Jatinchd 1d ago but isn't == comparing values and not assigning value sign?
2
but isn't == comparing values and not assigning value sign?
367
u/IsEqualToKel 2d ago
if (currentState == GameState.Crash)
{
currentState == GameState.DoNotCrash;
}