net6 things

This commit is contained in:
z__
2022-01-22 21:13:38 +07:00
parent 81d11a32fe
commit 58b9c926ae
103 changed files with 1476 additions and 2731 deletions

View File

@@ -20,6 +20,7 @@ using Sandbox;
using Torch.API;
using Torch.API.Managers;
using Torch.Server.Managers;
using Torch.Server.Views;
using MessageBoxResult = System.Windows.MessageBoxResult;
namespace Torch.Server
@@ -137,7 +138,11 @@ namespace Torch.Server
_config = config;
Dispatcher.Invoke(() =>
{
//InstancePathBox.Text = config.InstancePath;
EntityManagerTab.IsEnabled = _config.EntityManagerEnabled;
if (_config.EntityManagerEnabled)
{
EntityManagerTab.Content = new EntitiesControl();
}
});
}