Skip to content

Commit 18765fd

Browse files
committed
Fixed city error
1 parent c1368c9 commit 18765fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GameController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,11 @@ bool GameController::handleCityButtonEvent(ScreenCoordinate coord) {
323323
}
324324

325325
/**
326-
* Handles a click on the "create city" button. Changes the internal state to indicate the user is going to be upgrading settlements to cities on the board.
326+
* Handles a click on the "create wonder" button. Changes the internal state to indicate the user is going to be upgrading settlements/cities on the board.
327327
* @param coord The place the user clicked on screen.
328328
* @return Whether this event was handled by this element. Always true.
329329
*/
330-
bool GameController::handleCityButtonEvent(ScreenCoordinate coord) {
330+
bool GameController::handleWonderButtonEvent(ScreenCoordinate coord) {
331331
if(getState() != BASESTATE) {
332332
return false;
333333
}

0 commit comments

Comments
 (0)