| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2019-04-23 14:29:20 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2019-04-23 14:29:20 +0200 | 
| commit | 459a954c58e1bf9cb7359b617713f2057ceb024f (patch) | |
| tree | 32b8b2b9da61ff5ff4e32ed4ccd92597fc85d827 /src/bounty | |
| parent | c5422c4f90e135dbae1968db4b7fe996890e0efc (diff) | |
...
Diffstat (limited to 'src/bounty')
| -rw-r--r-- | src/bounty/bnt_join_battle.erl | 12 | 
1 files changed, 2 insertions, 10 deletions
| diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl index 78c4ea4..fa5d36e 100644 --- a/src/bounty/bnt_join_battle.erl +++ b/src/bounty/bnt_join_battle.erl @@ -429,17 +429,9 @@ add_to_pending_battle     S1PendingBattle =        btl_pending_battle:set_free_slots(RemainingSlots, S0PendingBattle),     S2PendingBattle = -      btl_pending_battle:set_player_ids -      ( -         [PlayerID|btl_pending_battle:get_player_ids(S1PendingBattle)], -         S1PendingBattle -      ), +      btl_pending_battle:push_player_id(PlayerID, S1PendingBattle),     S3PendingBattle = -      btl_pending_battle:set_player_summary_ixs -      ( -         [PlayerIX|btl_pending_battle:get_player_summary_ixs(S1PendingBattle)], -         S2PendingBattle -      ), +      btl_pending_battle:push_player_summary_ix(PlayerIX, S2PendingBattle),     Update =        ataxic:sequence | 


