summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/roster')
-rw-r--r--src/roster/query/rst_load.erl2
-rw-r--r--src/roster/query/rst_update.erl2
-rw-r--r--src/roster/struct/rst_roster.erl2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/roster/query/rst_load.erl b/src/roster/query/rst_load.erl
index 4f7cf64..017772d 100644
--- a/src/roster/query/rst_load.erl
+++ b/src/roster/query/rst_load.erl
@@ -75,7 +75,7 @@ fetch_data (Player, Input) ->
io:format("[W] Using shim inventory.~n"),
- Inventory = shr_inventory:new(PlayerID),
+ Inventory = shr_inventory:default(),
#query_state
{
diff --git a/src/roster/query/rst_update.erl b/src/roster/query/rst_update.erl
index 933c52c..c11e0a6 100644
--- a/src/roster/query/rst_update.erl
+++ b/src/roster/query/rst_update.erl
@@ -88,7 +88,7 @@ fetch_data (Player, Input) ->
),
% Inventory = shr_timed_cache:fetch(inventory_db, PlayerID, InventoryID),
- Inventory = shr_inventory:new(PlayerID),
+ Inventory = shr_inventory:default(),
#query_state
{
diff --git a/src/roster/struct/rst_roster.erl b/src/roster/struct/rst_roster.erl
index ec28db0..5d4a16f 100644
--- a/src/roster/struct/rst_roster.erl
+++ b/src/roster/struct/rst_roster.erl
@@ -143,7 +143,7 @@ ataxia_set_character (IX, Character, Roster) ->
-> {type(), ataxic:basic()}.
ataxia_set_character (IX, Character, CharacterAtaxiaUpdate, Roster) ->
{
- ataxia_set_character(IX, Character, Roster),
+ set_character(IX, Character, Roster),
ataxic:update_field
(
get_characters_field(),