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/map/query/map_update.erl
parent7184f076617493b29ddaf4413ab58d14bba4b9d4 (diff)
...
Diffstat (limited to 'src/map/query/map_update.erl')
-rw-r--r--src/map/query/map_update.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/query/map_update.erl b/src/map/query/map_update.erl
index d9e3e73..791bab1 100644
--- a/src/map/query/map_update.erl
+++ b/src/map/query/map_update.erl
@@ -116,11 +116,11 @@ commit_update (QueryState, Input) ->
Map = QueryState#query_state.map,
ok =
- ataxia_client:commit
+ ataxia_client:update
(
map_db,
ataxia_security:user_from_id(PlayerID),
- ataxic:value
+ ataxic:update_value
(
ataxic:sequence
(
@@ -142,7 +142,8 @@ commit_update (QueryState, Input) ->
)
]
)
- )
+ ),
+ MapID
),
shr_timed_cache:update(map_db, PlayerID, MapID, Map),