mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 02:56:09 -04:00
Fix launcher menu not usingg custom default texture pack's default.png and terrain.png if they exist
This commit is contained in:
parent
522c2c94b6
commit
6b92ee3348
@ -413,7 +413,7 @@ void Launcher_TryLoadTexturePack(void) {
|
||||
|
||||
Options_UNSAFE_Get(OPT_DEFAULT_TEX_PACK, &texPack);
|
||||
String_InitArray(path, pathBuffer);
|
||||
String_Format1(&path, "texpacks/", &texPack);
|
||||
String_Format1(&path, "texpacks/%s", &texPack);
|
||||
|
||||
if (!texPack.length || !File_Exists(&path)) path = defZipPath;
|
||||
if (!File_Exists(&path)) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user