about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-04 11:09:42 -0500
committerJune McEnroe <june@causal.agency>2019-01-04 11:09:42 -0500
commitda094fc3fac76bceff6ee26f98f36ca456e44cd9 (patch)
tree7b11a82d5ce3a60b64cf855cb695945cf095bea9
parentRestore old data format (diff)
downloadtorus-da094fc3fac76bceff6ee26f98f36ca456e44cd9.tar.gz
torus-da094fc3fac76bceff6ee26f98f36ca456e44cd9.zip
Fix map generation for old metadata discrepancies
Diffstat (limited to '')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index f90f369..ad9815b 100644
--- a/server.c
+++ b/server.c
@@ -312,7 +312,7 @@ static bool clientMap(const struct Client *client) {
 			uint32_t tileX = ((mapX + x) % TileCols + TileCols) % TileCols;
 			struct Meta meta = tileMeta(&tiles[tileY * TileRows + tileX]);
 
-			if (meta.createTime) {
+			if (meta.createTime > 1) {
 				if (meta.createTime < map.min.createTime) {
 					map.min.createTime = meta.createTime;
 				}