ecs #58
|
@ -178,6 +178,7 @@ def loading_scene(target: Scene, name: str, clear_cache: bool = True):
|
|||
|
||||
def __init__(self):
|
||||
self.files = glob.glob(f"assets/{name}/**/*", recursive=True)
|
||||
self.files.extend(glob.glob("assets/global/**/*", recursive=True))
|
||||
random.shuffle(self.files)
|
||||
self.total = len(self.files)
|
||||
|
||||
|
|
Loading…
Reference in a new issue