Skip to content

Commit

Permalink
prevent position hash from being iterated into pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Apr 19, 2017
1 parent 22395ca commit 523e790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Druid/Game.pm
Expand Up @@ -253,7 +253,7 @@ submethod move-was-winning() {
# must by necessity contain the last move, this is equivalent to
# asking 'was the last move winning?'.

my @pos-queue = { :$row, :$col };
my @pos-queue = { :$row, :$col },;

my $latest-color = @!colors[$row][$col];

Expand Down

0 comments on commit 523e790

Please sign in to comment.