mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 18:11:05 +00:00
add a side_number key to sent [init_side] if --log-debug=network
(to make clear it's not used and should not)
This commit is contained in:
parent
01caf29c6f
commit
7c45b41401
@ -331,7 +331,9 @@ void replay::add_rename(const std::string& name, const map_location& loc)
|
||||
void replay::init_side()
|
||||
{
|
||||
config* const cmd = add_command();
|
||||
cmd->add_child("init_side");
|
||||
config init_side;
|
||||
if(!lg::debug.dont_log("network")) init_side["side_number"] = resources::controller->current_side();
|
||||
cmd->add_child("init_side", init_side);
|
||||
}
|
||||
|
||||
void replay::end_turn()
|
||||
|
Loading…
x
Reference in New Issue
Block a user