summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/bounty')
-rw-r--r--src/bounty/bnt_join_battle.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bounty/bnt_join_battle.erl b/src/bounty/bnt_join_battle.erl
index b89627b..78c4ea4 100644
--- a/src/bounty/bnt_join_battle.erl
+++ b/src/bounty/bnt_join_battle.erl
@@ -116,9 +116,9 @@ find_random_location (Map, ForbiddenLocations) ->
_ ->
Tile =
- shr_tile:from_class_id
+ shr_tile:from_id
(
- shr_tile:extract_main_class_id
+ shr_tile_instance:get_tile_id
(
shr_map:get_tile_instance(Candidate, Map)
)