Skip to content

Commit

Permalink
doc: comment why show winners can be true even if there may not be an…
Browse files Browse the repository at this point in the history
…y winners
  • Loading branch information
lucasrangit committed Sep 25, 2018
1 parent 4aec409 commit c1fb534
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ void ofApp::urlResponse(ofHttpResponse & response) {
std::smatch match = *i;
winners += match.str() + " ";
}
// if there are no winners this will show a blank screen
// allowing the game master to retry getting the winners
showWinners = true;
} else {
ofRemoveAllURLRequests();
Expand Down

0 comments on commit c1fb534

Please sign in to comment.