mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Shader getShaderFi check for mod files (#9599)
* Shader getShaderFi check for mod files * Just use tree.get() It defaults to files.internal() if nothing is found. Actually, I think this also has the added benefit of allowing mods to override vanilla shaders by having a frag with an identical name.
This commit is contained in:
parent
430753e923
commit
aa896362dc
1 changed files with 1 additions and 1 deletions
|
|
@ -474,6 +474,6 @@ public class Shaders{
|
|||
}
|
||||
|
||||
public static Fi getShaderFi(String file){
|
||||
return Core.files.internal("shaders/" + file);
|
||||
return tree.get("shaders/" + file);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue