MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / btnOk5SecsClick

Method btnOk5SecsClick

src/Geoscape/LowFuelState.cpp:110–114  ·  view source on GitHub ↗

* Closes the window and sets the timer to 5 Secs. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

108 * @param action Pointer to an action.
109 */
110void LowFuelState::btnOk5SecsClick(Action *)
111{
112 _state->timerReset();
113 _game->popState();
114}
115
116}

Callers

nothing calls this directly

Calls 2

timerResetMethod · 0.80
popStateMethod · 0.45

Tested by

no test coverage detected