summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-01-17 22:02:08 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-01-17 22:02:08 +0100
commit0248c173c88dd551e7976758385faac95e4112fe (patch)
treeaaa03e09b18a6484070adb1b957349820a23114a /src/bounty/bnt_join_battle.erl
parent146120882616e46b75f881a12b69c9581be53861 (diff)
...
Diffstat (limited to 'src/bounty/bnt_join_battle.erl')
-rw-r--r--src/bounty/bnt_join_battle.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index 56b5af2..eae0c98 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -608,7 +608,14 @@ repair_create_battle
(
pending_battle_db,
ataxia_security:user_from_id(PlayerID),
- ataxic:update_value(ataxic:constant(NewPendingBattle)),
+ ataxic:sequence_meta
+ (
+ [
+ ataxic:update_value(ataxic:constant(NewPendingBattle)),
+ ataxic:update_read_permission(ataxia_security:allow_any()),
+ ataxic:update_write_permission(ataxia_security:allow_any())
+ ]
+ ),
PBattleID
),