Fix node step-thru mode remaining active if debug mode disabled

This commit is contained in:
2020-02-19 23:35:50 -05:00
parent 50a5d00360
commit 3c748ca071

View File

@@ -1977,7 +1977,7 @@ void run_special(eSpecCtx which_mode, eSpecCtxType which_type, spec_num_t start_
ctx.next_spec = -1;
ctx.cur_spec = get_node(cur_spec, ctx.cur_spec_type);
if(univ.node_step_through) {
if(univ.debug_mode && univ.node_step_through) {
give_help(68,69);
std::string debug = "Step: ";
debug += (*ctx.cur_spec.type).name();