mail[Wesnoth-commits] r20199 - /trunk/src/server/server.cpp


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

Header


Content

Posted by Soliton on September 08, 2007 - 12:35:
Author: soliton
Date: Sat Sep  8 12:34:31 2007
New Revision: 20199

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20199&view=rev
Log:
tell the lobby about game changes when we update side data

Modified:
    trunk/src/server/server.cpp

Modified: trunk/src/server/server.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/server.cpp?rev=20199&r1=20198&r2=20199&view=diff
==============================================================================
--- trunk/src/server/server.cpp (original)
+++ trunk/src/server/server.cpp Sat Sep  8 12:34:31 2007
@@ -1125,6 +1125,8 @@
                        // its old contents with the new ones given here
                        g->level() = data;
                        g->update_side_data();
+                       // Send the update of the game description to the 
lobby
+                       lobby_players_.send_data(sync_initial_response());
                }
 
                // Send the new data to all players in the level (except the 
sender).




Related Messages


Powered by MHonArc, Updated Sat Sep 08 12:40:24 2007