[server] Try to avoid certain scenarios where drawn lines can contain no points
This commit is contained in:
parent
226452cb57
commit
b32e51dddd
|
@ -103,6 +103,7 @@ namespace Nibriboard.RippleSpace
|
|||
// TODO: Add connecting lines to each DrawnLine instance to prevent gaps
|
||||
nextLine.Colour = Colour;
|
||||
nextLine.Width = Width;
|
||||
if(nextLine.Points.Count > 0)
|
||||
results.Add(nextLine);
|
||||
nextLine = new DrawnLine(LineId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue