game restart loops bug might have been solved