MCPcopy Create free account
hub / github.com/DFHack/dfhack / do_disable

Function do_disable

plugins/timestream.cpp:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166static void do_disable() {
167 EventManager::unregisterAll(plugin_self);
168 is_enabled = false;
169}
170
171DFhackCExport command_result plugin_enable(color_ostream &out, bool enable) {
172 if (!Core::getInstance().isMapLoaded() || !World::isFortressMode()) {

Calls

no outgoing calls

Tested by

no test coverage detected