summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-02-25 12:31:54 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-02-25 12:31:54 +0100 |
commit | d35cd5304d334582d8479062a52a8c7b34f892a1 (patch) | |
tree | 1702a26fafd1c6cf33365558872aba52bfd6b7e4 /src/reply/add_char.erl | |
parent | ef693352acedaf00cc1b216d85cd08d32a7ae265 (diff) |
Fixes a few typos, adds 'unimplemented' functions.
Diffstat (limited to 'src/reply/add_char.erl')
-rw-r--r-- | src/reply/add_char.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reply/add_char.erl b/src/reply/add_char.erl index 94ea370..5e2bf56 100644 --- a/src/reply/add_char.erl +++ b/src/reply/add_char.erl @@ -7,7 +7,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% EXPORTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --export([generate/3]). +-export([generate/2]). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% LOCAL FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -27,8 +27,8 @@ attributes_as_json (Attributes) -> encode (IX, CharacterInstance) -> Character = character_instance:get_character(CharacterInstance), {X, Y} = character_instance:get_location(CharacterInstance), - Attributes = character:get_attributes(Char), - {ActiveWeapon, SecondaryWeapon} = character:get_weapons(Char), + Attributes = character:get_attributes(Character), + {ActiveWeapon, SecondaryWeapon} = character:get_weapons(Character), jiffy:encode ( |