dotnet7 compat, DLSS, network manager rewrite and other fixes
This commit is contained in:
@@ -228,8 +228,12 @@ namespace Game
|
||||
// Initializes the Console system.
|
||||
internal void InitConsoleSubsystems()
|
||||
{
|
||||
AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
var assemblies = currentDomain.GetAssemblies();
|
||||
//AppDomain currentDomain = AppDomain.CurrentDomain;
|
||||
#if USE_NETCORE
|
||||
var assemblies = Utils.GetAssemblies();
|
||||
#else
|
||||
var assemblies = AppDomain.CurrentDomain.GetAssemblies();
|
||||
#endif
|
||||
|
||||
foreach (Assembly assembly in assemblies)
|
||||
{
|
||||
@@ -490,7 +494,7 @@ namespace Game
|
||||
if (value != null)
|
||||
cvar.SetValue(value);
|
||||
|
||||
//if (!noOutput)
|
||||
if (!noOutput)
|
||||
Console.Print("'" + execute + "' is '" + cvar.GetValueString() + "'");
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user