Updates diggingInvaders according to EventManager refactor

develop
Josh Cooper 2021-06-18 15:10:06 -07:00 committed by Myk
parent f5ced46608
commit ddbeead2b2
1 changed files with 0 additions and 2 deletions

@ -372,8 +372,6 @@ void findAndAssignInvasionJob(color_ostream& out, void* tickTime) {
clearDijkstra();
return;
}
EventManager::unregister(EventManager::EventType::TICK, findJobTickHandler, plugin_self);
EventManager::registerTick(findJobTickHandler, 1, plugin_self);
if ( fringe.empty() ) {
df::unit* lastDigger = df::unit::find(lastInvasionDigger);