From 169d7ff927917f2b0bf4cc6349a483f1031960fc Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 9 Oct 2018 19:34:02 +0200 Subject: (Broken) glyphs lists, not arrays... --- src/special/spe_battle.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/special/spe_battle.erl') 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([], [], [], []) -- cgit v1.2.3-70-g09d2