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

Method btnStopClick

src/Basescape/ManufactureInfoState.cpp:218–222  ·  view source on GitHub ↗

* Stops this Production. Returns to the previous screen. * @param action A pointer to an Action. */

Source from the content-addressed store, hash-verified

216 * @param action A pointer to an Action.
217 */
218void ManufactureInfoState::btnStopClick (Action *)
219{
220 _base->removeProduction(_production);
221 exitState();
222}
223
224/**
225 * Starts this Production (if new). Returns to the previous screen.

Callers

nothing calls this directly

Calls 1

removeProductionMethod · 0.80

Tested by

no test coverage detected