summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-13 23:22:59 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-13 23:22:59 +0100
commitf79ec67e93619ee0b4253ad79042de0cd5dd79de (patch)
treea10e831a4225cbd155a7234845efb6ed73a8ffe5 /src/special/spe_map.erl
parent3ffb430c28ba3c04835d2762a17aac39a1e64ded (diff)
[BROKEN] Still converting to Ataxia...
Diffstat (limited to 'src/special/spe_map.erl')
-rw-r--r--src/special/spe_map.erl15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/special/spe_map.erl b/src/special/spe_map.erl
index 94075d9..00b0fde 100644
--- a/src/special/spe_map.erl
+++ b/src/special/spe_map.erl
@@ -32,14 +32,17 @@ grant_additional (OwnerID) ->
MapSummary = shr_map_summary:new(MapID, <<"Untitled Map">>),
PlayerUpdateQueryOp =
- ataxic:on_field
+ ataxic:value
(
- shr_player:get_map_summaries_field(),
- ataxic:apply_function
+ ataxic:on_field
(
- lists,
- append,
- [ataxic:constant([MapSummary]), ataxic:current_value()]
+ shr_player:get_map_summaries_field(),
+ ataxic:apply_function
+ (
+ lists,
+ append,
+ [ataxic:constant([MapSummary]), ataxic:current_value()]
+ )
)
),