summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-12-12 18:24:00 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-12-12 18:24:00 +0100
commit65104411c1dbb3f9da1a10ee1aef76dbf2886b2c (patch)
treef2bbd995210fbe56bcc2ffe9659442a1736a62f5 /src/shared/battle-map/BattleMap/View
parent0f32d059365e037405a71ecbd0f01b82b59cf7da (diff)
...
Diffstat (limited to 'src/shared/battle-map/BattleMap/View')
-rw-r--r--src/shared/battle-map/BattleMap/View/Tile.elm6
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))]
)