mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
Fix engine transient search path prio too high in editor, skip in menu project (#3533)
This commit is contained in:
@@ -250,10 +250,13 @@ static class StartupLoadProject
|
||||
|
||||
//
|
||||
// The engine ships a bunch of transient files, like image generations from the addon base, and
|
||||
// cloud assets that the menu scene use. We mount them last.
|
||||
// cloud assets that the menu scene uses. Mount them last, but no need in the menu project.
|
||||
//
|
||||
var engineTransient = EngineFileSystem.Root.GetFullPath( "addons/menu/transients" );
|
||||
NativeEngine.FullFileSystem.AddCloudPath( "mod_engtrans", engineTransient );
|
||||
if ( project.Config.Ident != "menu" )
|
||||
{
|
||||
var engineTransient = EngineFileSystem.Root.GetFullPath( "addons/menu/transients" );
|
||||
NativeEngine.FullFileSystem.AddCloudPath( "mod_engtrans", engineTransient );
|
||||
}
|
||||
|
||||
Editor.FileSystem.RebuildContentPath();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user