Code cleanup.
This commit is contained in:
@@ -371,8 +371,9 @@ namespace Cryville.Crtr {
|
|||||||
texloadtimer.Start();
|
texloadtimer.Start();
|
||||||
frames = new Dictionary<string, SpriteFrame>();
|
frames = new Dictionary<string, SpriteFrame>();
|
||||||
texs = new Dictionary<string, Texture2D>();
|
texs = new Dictionary<string, Texture2D>();
|
||||||
|
var skinDir = skinFile.Directory.FullName;
|
||||||
foreach (var f in skin.frames) {
|
foreach (var f in skin.frames) {
|
||||||
texLoadQueue.Enqueue(Path.Combine(skinFile.Directory.FullName, f));
|
texLoadQueue.Enqueue(Path.Combine(skinDir, f));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user