Play again question loop after playing first time

I’m not exactly sure where I went wrong. I was expecting for the game to correctly reset and ask for guesses again, but that doesn’t seem to be the case. Can anyone point me in the right direction as to where I could look to figure this sucker out?

BCG_incorrectLooping

My code>>
https://github.com/Pixolygon/UnrealCourse/blob/master/Section_02/BullCowGame/main.cpp
https://github.com/Pixolygon/UnrealCourse/blob/master/Section_02/BullCowGame/FBullCowGame.h
https://github.com/Pixolygon/UnrealCourse/blob/master/Section_02/BullCowGame/FBullCowGame.cpp

All is well. Figures. I missed the bGameIsWon = false; in the reset function. Leaving here in case anyone else runs into the same mistake.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms