summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/struct/battle.erl')
-rw-r--r--src/struct/battle.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/struct/battle.erl b/src/struct/battle.erl
index bf2b010..5ac12e4 100644
--- a/src/struct/battle.erl
+++ b/src/struct/battle.erl
@@ -60,7 +60,7 @@ get_all_timelines (Result, CurrentIndex, EndPoint, ArraySize, Players) ->
Player = array:get(CurrentIndex, Players),
Timeline = player:get_timeline(Player),
NextIndex = ((CurrentIndex + 1) rem ArraySize),
- NextResult = (Result ++ Timeline),
+ NextResult = (Timeline ++ Result),
case CurrentIndex of
EndPoint ->
NextResult;