summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/shared/battle-map/BattleMap/View')
-rw-r--r-- | src/shared/battle-map/BattleMap/View/Tile.elm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/shared/battle-map/BattleMap/View/Tile.elm b/src/shared/battle-map/BattleMap/View/Tile.elm index 1d92493..ffe34b0 100644 --- a/src/shared/battle-map/BattleMap/View/Tile.elm +++ b/src/shared/battle-map/BattleMap/View/Tile.elm @@ -63,11 +63,7 @@ get_content_html tile = (Html.Attributes.class "tile-icon-dg") ] ( - case - (Set.size - (BattleMap.Struct.TileInstance.get_triggers tile) - ) - of + case (Set.size (BattleMap.Struct.TileInstance.get_tags tile)) of 0 -> [] other -> [(Html.text (String.fromInt other))] ) |