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
commit8f5c1ba04aeef135228c6b5658c571811de9ce8d (patch)
tree732e8cd163e2ff645fa494429d90ef1b262a6f16
parentRestore old data format (diff)
downloadtorus-8f5c1ba04aeef135228c6b5658c571811de9ce8d.tar.gz
torus-8f5c1ba04aeef135228c6b5658c571811de9ce8d.zip
Fix map generation for old metadata discrepancies
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 1547519..37f57ca 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;
 				}