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 authored and Ted John committed 2016-06-09 12:32:25 +01:00
1 parent 3bef65f754
commit 27b3c71588
1 file changed
+1 -1
+1 -1
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));