| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2019-01-18 15:10:19 +0100 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2019-01-18 15:10:19 +0100 | 
| commit | a38766a1b008347df932d7578aa99ae1ef30b4fd (patch) | |
| tree | f8598da649ecc95c6bafeabb11a5ad8fa260ffa3 /src/bounty | |
| parent | bd380fa5fdb604bf07bc7b58b79b3abc04147b4a (diff) | |
Looks like there are still issues with DB updates.
Switching weapons does not work.
In the little test I did, only one of their character got activated once
the second player's turn started.
Diffstat (limited to 'src/bounty')
| -rw-r--r-- | src/bounty/bnt_join_battle.erl | 12 | 
1 files changed, 9 insertions, 3 deletions
| diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl index eae0c98..63b57df 100644 --- a/src/bounty/bnt_join_battle.erl +++ b/src/bounty/bnt_join_battle.erl @@ -612,8 +612,14 @@ repair_create_battle           (              [                 ataxic:update_value(ataxic:constant(NewPendingBattle)), -               ataxic:update_read_permission(ataxia_security:allow_any()), -               ataxic:update_write_permission(ataxia_security:allow_any()) +               ataxic:update_read_permission +               ( +                  ataxic:constant(ataxia_security:allow_any()) +               ), +               ataxic:update_write_permission +               ( +                  ataxic:constant(ataxia_security:allow_any()) +               )              ]           ),           PBattleID @@ -823,7 +829,7 @@ repair_battle_final_links (PendingBattleID, BattleID, Battle) ->     true =        lists:all        ( -         fun (Player) -> +         fun ({_, Player}) ->              (repair_battle_final_link_of_player(BattleID, Player) == ok)           end,           orddict:to_list(Players) | 


