mail[Wesnoth-commits] r20183 - /trunk/utils/mp-lobby-logger.pl


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Soliton on September 08, 2007 - 00:34:
Author: soliton
Date: Sat Sep  8 00:34:15 2007
New Revision: 20183

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20183&view=rev
Log:
reloaded games may not set the timer

Modified:
    trunk/utils/mp-lobby-logger.pl

Modified: trunk/utils/mp-lobby-logger.pl
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/mp-lobby-logger.pl?rev=20183&r1=20182&r2=20183&view=diff
==============================================================================
--- trunk/utils/mp-lobby-logger.pl (original)
+++ trunk/utils/mp-lobby-logger.pl Sat Sep  8 00:34:15 2007
@@ -292,7 +292,8 @@
                                                                        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 &timestamp . "+++ 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;




Related Messages


Powered by MHonArc, Updated Sat Sep 08 01:20:41 2007