Send world name and time with world center in remotefortressreader.cpp

develop
Japa 2016-05-28 21:23:26 +05:30
parent 0867f3d311
commit 569325823d
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit 98cc1e01886aaea161d651cf97229ad08e9782b0
Subproject commit d3182b7f9a241d75e556937cad1f2c8824845b4f

@ -1772,6 +1772,10 @@ static command_result GetWorldMapCenter(color_ostream &stream, const EmptyMessag
out->set_center_x(pos.x);
out->set_center_y(pos.y);
out->set_center_z(pos.z);
out->set_name(Translation::TranslateName(&(data->name), false));
out->set_name_english(Translation::TranslateName(&(data->name), true));
out->set_cur_year(World::ReadCurrentYear());
out->set_cur_year_tick(World::ReadCurrentTick());
return CR_OK;
}