summaryrefslogtreecommitdiff
path: root/src/shim
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-03-12 17:55:25 +0100
committernsensfel <SpamShield0@noot-noot.org>2018-03-12 17:55:25 +0100
commit68cfa3b73e6f7def9641b08c4acf2f0f96685843 (patch)
tree5d6bbe4b6f1e777235fcc1235060b5101ca46c4d /src/shim
parent11a7a03a0088b2c4b8edc394469396d54190dc53 (diff)
Stores and sends entire turn timelines.
Diffstat (limited to 'src/shim')
-rw-r--r--src/shim/database_shim.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shim/database_shim.erl b/src/shim/database_shim.erl
index e5afd2b..a26087d 100644
--- a/src/shim/database_shim.erl
+++ b/src/shim/database_shim.erl
@@ -112,7 +112,7 @@ generate_db (Heir) ->
BattlemapHeight = roll:between(16, 64),
Battlemap = battlemap:random(0, BattlemapWidth, BattlemapHeight),
Characters = generate_random_characters(1, 8, 8, 0, []),
- PlayersAsList = [<<"0">>, <<"1">>],
+ PlayersAsList = [player:new(<<"0">>), player:new(<<"1">>)],
Battle =
battle:random
(