From 5d49894ff167c91c25103281e48c25e47bebe287 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 25 May 2014 02:45:11 -0400 Subject: sort in alphabetical order (not reverse) --- lib/Games/SMTNocturne/Demons/FusionChart.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Games/SMTNocturne/Demons') diff --git a/lib/Games/SMTNocturne/Demons/FusionChart.pm b/lib/Games/SMTNocturne/Demons/FusionChart.pm index 7848e40..6d2967c 100644 --- a/lib/Games/SMTNocturne/Demons/FusionChart.pm +++ b/lib/Games/SMTNocturne/Demons/FusionChart.pm @@ -22,7 +22,7 @@ sub unfuse { my @combinations; for my $type1 (keys %TYPES) { - for my $type2 (grep { $_ le $type1 } keys %TYPES) { + for my $type2 (grep { $_ ge $type1 } keys %TYPES) { push @combinations, [ $type1, $type2 ] if $TYPES{$type1}{$type2} eq $type; } -- cgit v1.2.3-54-g00ecf