|
|
|
@ -103,10 +103,14 @@ namespace embark_assist {
|
|
|
|
|
state->embark_update();
|
|
|
|
|
}
|
|
|
|
|
else if (input->count(df::interface_key::CUSTOM_C)) {
|
|
|
|
|
state->match_active = false;
|
|
|
|
|
if (state->matching) {
|
|
|
|
|
state->matching = false;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
state->match_active = false;
|
|
|
|
|
state->clear_match_callback();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if (input->count(df::interface_key::CUSTOM_F)) {
|
|
|
|
|
if (!state->match_active && !state->matching) {
|
|
|
|
|
embark_assist::finder_ui::init(embark_assist::overlay::plugin_self, state->find_callback, state->max_inorganic);
|
|
|
|
|