minor fixes
This commit is contained in:
parent
b4a7cf00d6
commit
8c9b1093e7
2 changed files with 1 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ func place_random_game_tiles(num_tiles: int = 8) -> void:
|
|||
available_positions.shuffle()
|
||||
|
||||
var skipNext = false;
|
||||
# Skip over an iteration for a paired tile
|
||||
for i in range(min(num_tiles, available_positions.size())):
|
||||
if skipNext:
|
||||
skipNext = false
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ func apply_effect(piece: Pawn = null) -> void:
|
|||
if partner_container && partner_container.has_piece():
|
||||
return
|
||||
|
||||
print("APPLY PortalTile teleporting to pair")
|
||||
var current_container = piece.get_parent() as PieceContainer
|
||||
if current_container:
|
||||
var target_container = other_portal.base_button as PieceContainer
|
||||
|
|
|
|||
Loading…
Reference in a new issue