This should fix particles drawing error

This commit is contained in:
Aragas 2016-09-25 16:05:57 +03:00
parent 48fe5ed445
commit d8aec25f2f
1 changed files with 1 additions and 0 deletions

View File

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