new loading texture.

This commit is contained in:
2018-10-30 19:47:01 -05:00
parent a9647f2146
commit eeebff355f
6 changed files with 35 additions and 24 deletions

View File

@@ -73,14 +73,11 @@ namespace RhythmBullet.Zer01HD.Utilities.ContentSystem
/// </summary>
public void Update()
{
if (queue.Count > 0)
if (queue.Count > 0 && (thread == null || !thread.IsAlive))
{
if (thread == null || !thread.IsAlive)
{
ThreadStart threadStart = new ThreadStart(LoadBatch);
thread = new Thread(threadStart);
thread.Start();
}
ThreadStart threadStart = new ThreadStart(LoadBatch);
thread = new Thread(threadStart);
thread.Start();
}
}