3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00

C Jeopardy: Fix minor inconsequential typo

This commit is contained in:
Pragmatic Software 2014-07-28 16:28:11 +00:00
parent 00fd1eee89
commit 2d0a490ed2
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 753,
BUILD_REVISION => 754,
BUILD_DATE => "2014-07-28",
};

View File

@ -103,7 +103,7 @@ sub shuffle_questions {
}
close $fh;
open $fh, ">", "$CJEOPARDY_SHUFFLE-$channel" or die "Could not open $CJEOPARDY_FILE: $!";
open $fh, ">", "$CJEOPARDY_SHUFFLE-$channel" or die "Could not open $CJEOPARDY_SHUFFLE-$channel: $!";
while (@indices) {
my $random_index = int rand(@indices);
my $index = $indices[$random_index];