X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=main.coffee;h=c0524a09f97fb031dc4bf726b99e2271e316eeb2;hp=6f0cd18772e5aedb9772e8ae8f67fd311c799ede;hb=ce432c1db2457df41346e82eba9838ab3708449e;hpb=763be368fc0ded853123b4d16afebef839f47d05 diff --git a/main.coffee b/main.coffee index 6f0cd18..c0524a0 100644 --- a/main.coffee +++ b/main.coffee @@ -225,7 +225,7 @@ init_board_layout = () -> unless is_top_tile and fw_other is -1 push i + columns[col_num].height + fw_other # will be dereferenced later - space.neighbors = neighbors.clone() # FIXME ?remove ``.clone()`` + space.neighbors = neighbors col_offset += column.height # convert all space.neighbors arrays from containing space ids to referencing the space for s in spaces