From eb78c5f52310b1eaa64a7bc376f119536270a887 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Mon, 7 Jan 2019 18:43:09 +0100 Subject: Player maps & battles: lists -> orddicts. --- src/bounty/bnt_grant_land.erl | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/bounty/bnt_grant_land.erl') diff --git a/src/bounty/bnt_grant_land.erl b/src/bounty/bnt_grant_land.erl index d12d30c..aa2a62f 100644 --- a/src/bounty/bnt_grant_land.erl +++ b/src/bounty/bnt_grant_land.erl @@ -39,9 +39,18 @@ attempt (OwnerID) -> shr_player:get_map_summaries_field(), ataxic:apply_function ( - lists, - append, - [ataxic:constant([MapSummary]), ataxic:current_value()] + orddict, + store, + [ + ataxic:apply_function + ( + orddict, + size, + [ataxic:current_value()] + ), + ataxic:constant([MapSummary]), + ataxic:current_value() + ] ) ) ), -- cgit v1.2.3-70-g09d2