Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
pusewicz committed May 6, 2024
1 parent cb96353 commit c3f9fda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/wave_function_collapse/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,12 @@ def evaluate_neighbor(source_cell, evaluation_direction)
sci = 0
scil = source_tiles.length



while sci < scil
source_tile = source_tiles[sci]
sci += 1
source_edge_hash = case source_tile
source_edge_hash = case evaluation_direction
when :up then source_tile.up
when :right then source_tile.right
when :down then source_tile.down
Expand Down

0 comments on commit c3f9fda

Please sign in to comment.