summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-05-25 02:45:26 -0400
committerJesse Luehrs <doy@tozt.net>2014-05-25 02:45:26 -0400
commite5ae6b60b07a7bd8ac0cc6541fd061a00a764b35 (patch)
treee75b1c68683a99c99fe33f2ab89edff3caefadf3 /lib
parent5d49894ff167c91c25103281e48c25e47bebe287 (diff)
downloadgames-smtnocturne-demons-e5ae6b60b07a7bd8ac0cc6541fd061a00a764b35.tar.gz
games-smtnocturne-demons-e5ae6b60b07a7bd8ac0cc6541fd061a00a764b35.zip
avoid undef warning
Diffstat (limited to 'lib')
-rw-r--r--lib/Games/SMTNocturne/Demons/FusionChart.pm2
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;
}
}