mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 17:21:19 +00:00
Add a comment
This commit is contained in:
parent
2e05fd3992
commit
3dc1cd55ab
@ -385,8 +385,10 @@ void tod_manager::set_number_of_turns(int num)
|
||||
void tod_manager::update_server_information() const
|
||||
{
|
||||
if(resources::controller->current_team().is_local()) {
|
||||
//TODO: move netword stuff to playturn.cpp
|
||||
//the currently active side informs the mp server about the turn change.
|
||||
//NOTE: The current implementation does not guarnateee that the server gets informed
|
||||
// about those changes in 100% of cases. But that is ok because the information is only
|
||||
// used to display the turn limit in the lobby (as opposed to things that cause OOS).
|
||||
network::send_data(config_of
|
||||
("change_turns_wml", config_of
|
||||
("current", turn_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user