This should fix particles drawing error

This commit is contained in:
Aragas 2016-09-25 16:05:57 +03:00
parent 48fe5ed445
commit d8aec25f2f

View File

@ -826,6 +826,7 @@ Public Class Level
Public Sub SortEntities() Public Sub SortEntities()
If LevelLoader.IsBusy = False Then If LevelLoader.IsBusy = False Then
Entities = (From f In Entities Order By f.CameraDistance Descending).ToList() 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 If
End Sub End Sub