We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61656ce commit edc3dd1Copy full SHA for edc3dd1
shm/src/Game.cpp
@@ -140,12 +140,12 @@ Game::ConfirmOption Game::confirmOption(std::string announcemen) {
140
141
bool Game::exitGame() {
142
while (true) {
143
- ConfirmOption exitAnswer = confirmOption("Are you sure you wanna exit game? Y/N";
+ ConfirmOption exitAnswer = confirmOption("Are you sure you wanna exit game? Y/N");
144
if (exitAnswer == ConfirmOption::Yes) {
145
return true;
146
}
147
if (exitAnswer == ConfirmOption::No) {
148
- return false
+ return false;
149
150
151
0 commit comments