From d8aec25f2fd52510ce180a83d6c9096c0ec9c27a Mon Sep 17 00:00:00 2001 From: Aragas Date: Sun, 25 Sep 2016 16:05:57 +0300 Subject: [PATCH] This should fix particles drawing error --- 2.5DHero/2.5DHero/World/Level.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/2.5DHero/2.5DHero/World/Level.vb b/2.5DHero/2.5DHero/World/Level.vb index 4e5e009a5..e7f743079 100644 --- a/2.5DHero/2.5DHero/World/Level.vb +++ b/2.5DHero/2.5DHero/World/Level.vb @@ -826,6 +826,7 @@ Public Class Level Public Sub SortEntities() If LevelLoader.IsBusy = False Then Entities = (From f In Entities Order By f.CameraDistance Descending).ToList() + Entities = (From f In Entities Order By f.GetType Is GetType(Particle) Ascending).ToList() End If End Sub