They left out some parts in their loop, it's just stuck in an infinite loop. I'll fix it for them just need to add this in their loop somewhere.
if(!communist) break;
else {
HelicopterRide();
still_alive = false;
}
Yeah I'm sure I broke some rules of modern programming. I was self taught in the 90s not a professional. I would have used bool anyway, var seems like something that would allocate a bunch of extra bytes you're never going to use with a true/false.
They left out some parts in their loop, it's just stuck in an infinite loop. I'll fix it for them just need to add this in their loop somewhere.
if(!communist) break;
else {
}
Yeah I'm sure I broke some rules of modern programming. I was self taught in the 90s not a professional. I would have used bool anyway, var seems like something that would allocate a bunch of extra bytes you're never going to use with a true/false.