* Goes to the base for the respective production. * @param action Pointer to an action. */
| 130 | * @param action Pointer to an action. |
| 131 | */ |
| 132 | void ProductionCompleteState::btnGotoBaseClick(Action *) |
| 133 | { |
| 134 | _state->timerReset(); |
| 135 | _game->popState(); |
| 136 | if (_endType != PROGRESS_CONSTRUCTION) |
| 137 | { |
| 138 | _game->pushState(new ManufactureState(_game, _base)); |
| 139 | } |
| 140 | else |
| 141 | { |
| 142 | _game->pushState(new BasescapeState(_game, _base, _state->getGlobe())); |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | } |
nothing calls this directly
no test coverage detected