aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battlemap/src/Update/SelectCharacter.elm')
-rw-r--r--src/battlemap/src/Update/SelectCharacter.elm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/battlemap/src/Update/SelectCharacter.elm b/src/battlemap/src/Update/SelectCharacter.elm
index 3f0dbd4..152aa9c 100644
--- a/src/battlemap/src/Update/SelectCharacter.elm
+++ b/src/battlemap/src/Update/SelectCharacter.elm
@@ -73,7 +73,10 @@ ctrl_or_focus_character model target_char_id target_char =
model.char_turn
)
),
- ui = (Struct.UI.set_previous_action model.ui Nothing)
+ ui =
+ (Struct.UI.reset_displayed_tab
+ (Struct.UI.set_previous_action model.ui Nothing)
+ )
}
else
{model |