diff options
author | June McEnroe <june@causal.agency> | 2019-01-04 11:09:42 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-04 11:09:42 -0500 |
commit | 8f5c1ba04aeef135228c6b5658c571811de9ce8d (patch) | |
tree | 732e8cd163e2ff645fa494429d90ef1b262a6f16 | |
parent | Restore old data format (diff) | |
download | torus-8f5c1ba04aeef135228c6b5658c571811de9ce8d.tar.gz torus-8f5c1ba04aeef135228c6b5658c571811de9ce8d.zip |
Fix map generation for old metadata discrepancies
-rw-r--r-- | server.c | 2 |
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; } |