summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-10-09 19:34:02 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-10-09 19:34:02 +0200 |
commit | 169d7ff927917f2b0bf4cc6349a483f1031960fc (patch) | |
tree | 30b1a9624c5f0f0f7ca67ebccf19dde3a3cd19b7 /src/special/spe_battle.erl | |
parent | 80cf57bc91d25a043ed8c1de557ebe1ccbe17022 (diff) |
(Broken) glyphs lists, not arrays...
Diffstat (limited to 'src/special/spe_battle.erl')
-rw-r--r-- | src/special/spe_battle.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/special/spe_battle.erl b/src/special/spe_battle.erl index c494f50..fe18da1 100644 --- a/src/special/spe_battle.erl +++ b/src/special/spe_battle.erl @@ -110,7 +110,7 @@ get_glyphs_omnimods (RosterChar) -> GlyphBoardID = rst_character:get_glyph_board_id(RosterChar), GlyphIDs = rst_character:get_glyph_ids(RosterChar), GlyphBoard = shr_glyph_board:from_id(GlyphBoardID), - Glyphs = lists:map(fun shr_glyph:from_id/1, array:sparse_to_list(GlyphIDs)), + Glyphs = lists:map(fun shr_glyph:from_id/1, GlyphIDs), case shr_glyph_board:get_omnimods_with_glyphs(Glyphs, GlyphBoard) of {ok, Result} -> Result; error -> shr_omnimods:new([], [], [], []) |