… | … | ||
---|---|---|---|
3 | use KGS::Constants; | 3 | use KGS::Constants; |
4 | 4 | ||
5 | my %sound; | 5 | my %sound; |
6 | $SIG{CHLD} = 'IGNORE'; | 6 | $SIG{CHLD} = 'IGNORE'; |
7 | 7 | ||
8 | for (qw(alarm warning move pass ring connect user_unknown gamestart resign outoftime)) { | 8 | for (qw(alarm warning info move pass ring connect user_unknown gamestart resign outoftime)) { |
9 | my $path = KGS::Constants::findfile "KGS/kgsueme/sounds/$_"; | 9 | my $path = KGS::Constants::findfile "KGS/kgsueme/sounds/$_"; |
10 | 10 | ||
11 | open my $snd, "<", $path | 11 | open my $snd, "<", $path |
12 | or die "$path: $!"; | 12 | or die "$path: $!"; |
13 | binmode $snd; | 13 | binmode $snd; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |