Skip to content

Commit c0fba2d

Browse files
committed
Allow users in the "prompting" loop to enter single-player mode.
1 parent 61909b8 commit c0fba2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environment/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Networking promptNetworking() {
144144
bool done = false;
145145
for(int np = 0; !done; np++) {
146146
//If less than 2, bypass this step: Ask if the user like to add another AI
147-
if (np >= 2) {
147+
if (np >= 1) {
148148
std::cout << "Would you like to add another player? Please enter Yes or No: ";
149149
while (true) {
150150
std::getline(std::cin, in);

0 commit comments

Comments
 (0)