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;
 				}
>June McEnroe 2020-10-07Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe