summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-01-07 18:43:09 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-01-07 18:43:09 +0100
commiteb78c5f52310b1eaa64a7bc376f119536270a887 (patch)
tree6cade2f10b36738c7e8a225d7e94783ce7b2c9cc /src/bounty
parent40b20e4355bf753f9a20d387f9c7929ef72450bc (diff)
Player maps & battles: lists -> orddicts.
Diffstat (limited to 'src/bounty')
-rw-r--r--src/bounty/bnt_grant_land.erl15
1 files changed, 12 insertions, 3 deletions
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()
+ ]
)
)
),