dotnet7 compat, DLSS, network manager rewrite and other fixes

This commit is contained in:
2023-01-27 16:24:11 +02:00
parent 36c09efac0
commit 51dcad2cc4
54 changed files with 767 additions and 821 deletions

View File

@@ -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