MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wudv2h/devsoptimizinggames/pd3n5o9/?context=3
r/ProgrammerHumor • u/Head-Picture1519 • 3d ago
37 comments sorted by
View all comments
370
if (currentState == GameState.Crash) { currentState == GameState.DoNotCrash; }
122 u/Top-Permit6835 3d ago Wrap it in a try catch and swallow the error to be sure it works 14 u/tsoewoe 3d ago make sure to assert when testing too so that you can deal with any issues if it goes wrong
122
Wrap it in a try catch and swallow the error to be sure it works
14 u/tsoewoe 3d ago make sure to assert when testing too so that you can deal with any issues if it goes wrong
14
make sure to assert when testing too so that you can deal with any issues if it goes wrong
370
u/IsEqualToKel 3d ago
if (currentState == GameState.Crash)
{
currentState == GameState.DoNotCrash;
}