reloaded games may not set the timer
This commit is contained in:
parent
7e7d69c4f4
commit
12f4890c81
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ while (1) {
|
|||
my $gpv = $game->{'attr'}->{'mp_village_gold'};
|
||||
my $fog = $game->{'attr'}->{'mp_fog'};
|
||||
my $shroud = $game->{'attr'}->{'mp_shroud'};
|
||||
my $timer = $game->{'attr'}->{'mp_countdown'};
|
||||
my $timer = "none"; # reloads may not set the timer
|
||||
$timer = $game->{'attr'}->{'mp_countdown'} if $game->{'attr'}->{'mp_countdown'};
|
||||
my $observer = $game->{'attr'}->{'observer'};
|
||||
print STDERR ×tamp . "+++ A new game has been created: \"$gamename\" ($gamelistindex, $gameid).\n" if $showgames;
|
||||
print LOG &logtimestamp . "+++ A new game has been created: \"$gamename\" ($gamelistindex, $gameid).\n" if $logfile;
|
||||
|
|
Loading…
Add table
Reference in a new issue