Fix selection of loading screen textures with pre-converted texture cache
This was SVN commit r8305.
This commit is contained in:
parent
8dda4db8d8
commit
5eedb07297
@ -21,6 +21,7 @@ function init(data)
|
||||
// Get a random index from the list of loading screen backgrounds.
|
||||
sprite = "stretched:" + loadingBkgArray[getRandom (0, loadingBkgArray.length-1)];
|
||||
sprite = sprite.replace ("art/textures/ui/", "");
|
||||
sprite = sprite.replace (".cached.dds", ""); // cope with pre-cached textures
|
||||
}
|
||||
getGUIObjectByName ("ldConcept").sprite = sprite;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user