summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-15 12:24:31 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-15 12:24:31 +0100
commit2c3aa52b642858b85ba756df927ff5730f5ee73d (patch)
tree2273f5eb7b9dce79bb0833714cd390e2f3e01113 /src/special/spe_map.erl
parent7184f076617493b29ddaf4413ab58d14bba4b9d4 (diff)
...
Diffstat (limited to 'src/special/spe_map.erl')
-rw-r--r--src/special/spe_map.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/special/spe_map.erl b/src/special/spe_map.erl
index 1de946b..dbd6c3e 100644
--- a/src/special/spe_map.erl
+++ b/src/special/spe_map.erl
@@ -24,15 +24,15 @@ grant_additional (OwnerID) ->
ataxia_client:add
(
map_db,
- ataxia_security:any(),
- [ataxia_security:user_from_id(OwnerID)],
+ ataxia_security:only_allow(ataxia_security:any()),
+ ataxia_security:only_allow(ataxia_security:user_from_id(OwnerID)),
Map
),
MapSummary = shr_map_summary:new(MapID, <<"Untitled Map">>),
PlayerUpdateQueryOp =
- ataxic:value
+ ataxic:update_value
(
ataxic:update_field
(