summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/reply/shr_add_glyph.erl | 1 | ||||
-rw-r--r-- | src/shared/struct/inventory/shr_equipment.erl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/reply/shr_add_glyph.erl b/src/shared/reply/shr_add_glyph.erl index 2e4a259..cea10d2 100644 --- a/src/shared/reply/shr_add_glyph.erl +++ b/src/shared/reply/shr_add_glyph.erl @@ -23,6 +23,7 @@ generate (Glyph) -> {<<"msg">>, <<"add_glyph">>}, {<<"id">>, shr_glyph:get_id(Glyph)}, {<<"nam">>, shr_glyph:get_name(Glyph)}, + {<<"fam">>, shr_glyph:get_family_id(Glyph)}, {<<"omni">>, shr_omnimods:encode(shr_glyph:get_omnimods(Glyph))} ] }. 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()) ) }. |