1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[client] Bugfix: Render the visible parts of lines that span over unloaded chunks

This commit is contained in:
Starbeamrainbowlabs 2017-10-06 22:42:15 +01:00
parent 903666f2ed
commit 94d5b109a7

View file

@ -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;