summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2017-11-28 18:23:47 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2017-11-28 18:23:47 +0100 |
commit | cd729553daf0680666f39b39991eeff80e0eca3e (patch) | |
tree | 1707daa7eaf820a4dc9bb26a396e23eb19b7658c /src/io | |
parent | f539b7072c357339328d9bfd54f1f1ed51828586 (diff) |
Got it to run.
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/database_shim.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/database_shim.erl b/src/io/database_shim.erl index 243051b..d4f80cb 100644 --- a/src/io/database_shim.erl +++ b/src/io/database_shim.erl @@ -41,7 +41,7 @@ generate_char_instances (Battlemap, Characters) -> (rand:uniform(2) - 1), % team, { rand:uniform(battlemap:get_width(Battlemap) - 1), % X - rand:uniform(battlemap:get_heigth(Battlemap) - 1) % Y + rand:uniform(battlemap:get_height(Battlemap) - 1) % Y } ) } |