- Fixed duplicate component calls

- Removed loading screen items in SP
- Re-Added custom loading screens for servers
This commit is contained in:
Garrett
2023-12-19 22:37:03 -06:00
parent 04bbf37b12
commit 410ad52b59
6 changed files with 763 additions and 131 deletions

View File

@@ -1,6 +1,7 @@
using HarmonyLib;
using Sandbox.Game;
using Sandbox.Game.Gui;
using Sandbox.Game.Multiplayer;
using Sandbox.Game.World;
using SeamlessClient.Messages;
using SeamlessClient.Utilities;
@@ -27,7 +28,7 @@ namespace SeamlessClient.OnlinePlayersWindow
public override void Update()
{
if (!Seamless.isSeamlessServer)
if (Sync.IsServer)
{
MyPerGameSettings.GUI.PlayersScreen = typeof(MyGuiScreenPlayers);
}