From 94d5b109a756cf7402211187e60b46418ba81016 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 6 Oct 2017 22:42:15 +0100 Subject: [PATCH] [client] Bugfix: Render the visible parts of lines that span over unloaded chunks --- Nibriboard/ClientFiles/Chunk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nibriboard/ClientFiles/Chunk.js b/Nibriboard/ClientFiles/Chunk.js index b713fa6..28e028e 100644 --- a/Nibriboard/ClientFiles/Chunk.js +++ b/Nibriboard/ClientFiles/Chunk.js @@ -85,7 +85,7 @@ class Chunk { // Don't draw lines that are walked by other chunks if(line.ContinuesFrom != null && - chunkCache.fetchChunk(line.ContinuesFrom) != null) + !(chunkCache.fetchChunk(line.ContinuesFrom) instanceof Chunk)) continue; let linePoints = line.Points;