diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-05-25 02:45:26 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-05-25 02:45:26 -0400 |
commit | e5ae6b60b07a7bd8ac0cc6541fd061a00a764b35 (patch) | |
tree | e75b1c68683a99c99fe33f2ab89edff3caefadf3 /lib/Games/SMTNocturne | |
parent | 5d49894ff167c91c25103281e48c25e47bebe287 (diff) | |
download | games-smtnocturne-demons-e5ae6b60b07a7bd8ac0cc6541fd061a00a764b35.tar.gz games-smtnocturne-demons-e5ae6b60b07a7bd8ac0cc6541fd061a00a764b35.zip |
avoid undef warning
Diffstat (limited to 'lib/Games/SMTNocturne')
-rw-r--r-- | lib/Games/SMTNocturne/Demons/FusionChart.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Games/SMTNocturne/Demons/FusionChart.pm b/lib/Games/SMTNocturne/Demons/FusionChart.pm index 6d2967c..45eb098 100644 --- a/lib/Games/SMTNocturne/Demons/FusionChart.pm +++ b/lib/Games/SMTNocturne/Demons/FusionChart.pm @@ -24,7 +24,7 @@ sub unfuse { for my $type1 (keys %TYPES) { for my $type2 (grep { $_ ge $type1 } keys %TYPES) { push @combinations, [ $type1, $type2 ] - if $TYPES{$type1}{$type2} eq $type; + if ($TYPES{$type1}{$type2} || '') eq $type; } } |