[SOLVED]Why does the game loop get triggered?
*WARNING* the code is long. (And won't work in SL) My problem is: right when i start the game and enter the "explore" command. Its gives the correct choices and even works well going foward. BUT, whenever i enter "explore" and then enter '0' to get back to the main loop that accepts commamds, the game is ended somehow and the game_loop() function is triggered. LINE 238: where it goes wrong LINE 652: game_loop() function Not sure what i did to mess it up, but I'm sure it's stupid. All i know is i set a while loop to run and accept commands while the Player is above 0 health. There's nothing i saw that'd kill the player at the lines mentioned so I'm at a stand still EDIT: its the break at line 682 https://code.sololearn.com/c2MshQeGSO1N/?ref=app