summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-01-17 17:45:22 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-01-17 17:45:22 +0100 |
commit | 14a7576ecf56f385d78e0c9ba84b895679c42ee8 (patch) | |
tree | 41daa4a46edd334a801fe3270d363ed052552e40 /src/battle/src/View/Map/Character.elm | |
parent | 883c92cfe2ca94321c995d1a12b44631e77b4518 (diff) |
The battle loads, but it's nobody's turn to play...
Diffstat (limited to 'src/battle/src/View/Map/Character.elm')
-rw-r--r-- | src/battle/src/View/Map/Character.elm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/battle/src/View/Map/Character.elm b/src/battle/src/View/Map/Character.elm index d7934d3..af41050 100644 --- a/src/battle/src/View/Map/Character.elm +++ b/src/battle/src/View/Map/Character.elm @@ -5,7 +5,7 @@ import Html import Html.Attributes import Html.Events --- Map ------------------------------------------------------------------ +-- Battle ---------------------------------------------------------------------- import Constants.UI import Util.Html @@ -14,6 +14,7 @@ import Struct.Character import Struct.CharacterTurn import Struct.Event import Struct.Model +import Struct.Portrait import Struct.TurnResult import Struct.TurnResultAnimator import Struct.UI @@ -145,7 +146,11 @@ get_head_html char = [ (Html.Attributes.class "character-icon-head"), (Html.Attributes.class - ("asset-character-icon-" ++ (Struct.Character.get_icon_id char)) + ("asset-character-icon-" ++ + (Struct.Portrait.get_icon_id + (Struct.Character.get_portrait char) + ) + ) ) ] [ |