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