feat: update
This commit is contained in:
@@ -52,7 +52,7 @@ static func get_tile_weights() -> Dictionary:
|
||||
weights[tile] = STANDARD_WEIGHT
|
||||
|
||||
# Special tiles
|
||||
var mode = LobbyManager.get_game_mode()
|
||||
var mode = Engine.get_main_loop().root.get_node_or_null("LobbyManager").get_game_mode()
|
||||
var is_restricted = GameMode.is_restricted(mode)
|
||||
for tile in SPECIAL_TILES:
|
||||
if is_restricted and tile == TILE_WALL:
|
||||
|
||||
Reference in New Issue
Block a user