aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'elm/battlemap/src/Battlemap/Html.elm')
-rw-r--r-- | elm/battlemap/src/Battlemap/Html.elm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elm/battlemap/src/Battlemap/Html.elm b/elm/battlemap/src/Battlemap/Html.elm index 6506c0f..d7cfc63 100644 --- a/elm/battlemap/src/Battlemap/Html.elm +++ b/elm/battlemap/src/Battlemap/Html.elm @@ -33,7 +33,7 @@ view_battlemap_cell t = case t.char_level of Nothing -> (Html.td - [ (Html.Events.onClick (Event.SelectTile t.location)) ] + [ (Html.Events.onClick (Event.TileSelected t.location)) ] [ (Html.text (case t.mod_level of @@ -47,7 +47,7 @@ view_battlemap_cell t = ) (Just char_id) -> (Html.td - [ (Html.Events.onClick (Event.SelectCharacter char_id)) ] + [ (Html.Events.onClick (Event.CharacterSelected char_id)) ] [ (Html.text ("[" ++ char_id ++ "]")), (Html.text (nav_level_to_text t)) |