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

Function debug_pause

plugins/autolabor/labormanager.cpp:294–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void debug_pause()
295{
296 if (pause_on_error)
297 {
298 debug("LABORMANAGER: Game paused so you can investigate the above message.\nUse 'labormanager pause-on-error no' to disable autopausing.\n");
299 *df::global::pause_state = true;
300 }
301}
302
303static JobLaborMapper* labor_mapper = 0;
304

Callers 5

collect_dwarf_listMethod · 0.85
get_laborMethod · 0.85
get_laborMethod · 0.85
get_laborMethod · 0.85
find_job_laborMethod · 0.85

Calls 1

debugFunction · 0.85

Tested by

no test coverage detected