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

Method recover

plugins/workflow.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 void recover(df::job *job)
192 {
193 actual_job = job;
194 job->flags.bits.repeat = true;
195 set_resumed(false);
196
197 resume_delay = std::min(DAY_TICKS*MONTH_DAYS, 5*resume_delay/3);
198 resume_time = world->frame_counter + resume_delay;
199 }
200
201 void set_resumed(bool resume)
202 {

Callers 1

recover_jobFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected