summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/bounty')
-rw-r--r--src/bounty/bnt_join_battle.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index 7a2bb7c..b245bc4 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -134,10 +134,11 @@ add_characters (PlayerIX, RosterCharacters, Battle) ->
),
{
- [
- btl_character:get_location(NewCharacterRef)
- |CurrentUsedLocations
- ],
+ ordsets:add_element
+ (
+ btl_character:get_location(NewCharacterRef),
+ CurrentUsedLocations
+ ),
S1Battle,
[
BattleAtaxiaUpdate0,