mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 07:31:36 +00:00
UDBScript: directories are now expanded by default
This commit is contained in:
parent
5eb438e3ba
commit
843058c76c
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ namespace CodeImp.DoomBuilder.UDBScript
|
||||||
private ScriptDirectoryStructure LoadScriptDirectoryStructure(string path)
|
private ScriptDirectoryStructure LoadScriptDirectoryStructure(string path)
|
||||||
{
|
{
|
||||||
string hash = SHA256Hash.Get(path);
|
string hash = SHA256Hash.Get(path);
|
||||||
bool expanded = General.Settings.ReadPluginSetting("directoryexpand." + hash, false);
|
bool expanded = General.Settings.ReadPluginSetting("directoryexpand." + hash, true);
|
||||||
string name = path.TrimEnd(Path.DirectorySeparatorChar).Split(Path.DirectorySeparatorChar).Last();
|
string name = path.TrimEnd(Path.DirectorySeparatorChar).Split(Path.DirectorySeparatorChar).Last();
|
||||||
ScriptDirectoryStructure sds = new ScriptDirectoryStructure(name, expanded, hash);
|
ScriptDirectoryStructure sds = new ScriptDirectoryStructure(name, expanded, hash);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue