+ if (["control_tile_draw", "control_tile_type", "control_pw_type"].includes(this.mode.name)) {
+ this.map_mode = 'protections';
+ } else if (this.mode.name != "edit") {
+ this.map_mode = 'terrain + things';
+ };
+ if (this.mode.has_input_prompt || this.mode.is_single_char_entry) {
+ this.inputEl.focus();
+ }