1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Send the correct map size to the master server (#3821)

Signed-off-by: dVoCex <dVoCex@users.noreply.github.com>
This commit is contained in:
dVoCex
2016-06-09 13:32:25 +02:00
committed by Ted John
parent 3bef65f754
commit 27b3c71588

View File

@@ -703,7 +703,7 @@ void Network::AdvertiseHeartbeat()
json_object_set_new(body, "players", json_integer(network_get_num_players()));
json_t *gameInfo = json_object();
json_object_set_new(gameInfo, "mapSize", json_integer(gMapSizeMinus2));
json_object_set_new(gameInfo, "mapSize", json_integer(gMapSize - 2));
json_object_set_new(gameInfo, "day", json_integer(gDateMonthTicks));
json_object_set_new(gameInfo, "month", json_integer(gDateMonthsElapsed));
json_object_set_new(gameInfo, "guests", json_integer(gNumGuestsInPark));