From efc878dc634cdbf9ba976858ee6872fc7a59b485 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Mon, 9 Sep 2019 16:56:57 +0200 Subject: Spotted a mistake in shr_equipment. I expected Dialyzer to point out this kind of error, though... --- src/shared/struct/inventory/shr_equipment.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/struct') diff --git a/src/shared/struct/inventory/shr_equipment.erl b/src/shared/struct/inventory/shr_equipment.erl index ceeefd1..25cc8fb 100644 --- a/src/shared/struct/inventory/shr_equipment.erl +++ b/src/shared/struct/inventory/shr_equipment.erl @@ -496,7 +496,7 @@ default_unresolved () -> glyphs = lists:map ( - fun (_E) -> shr_glyph:default() end, + fun (_E) -> shr_glyph:default_id() end, shr_glyph_board:get_slots(shr_glyph_board:default()) ) }. -- cgit v1.2.3-70-g09d2