Fixed compile errors :(

This commit is contained in:
NotAlwaysTrue
2025-12-22 22:58:22 +08:00
parent 1def7b7b8d
commit 83ca51a99b
2 changed files with 6 additions and 2 deletions

View File

@@ -295,7 +295,9 @@ namespace Barotrauma
}
catch
{
GameServer.Log("Try making UniqueEvents snapshot failed", ServerLog.MessageType.Warning);
#if SERVER
Networking.GameServer.Log("Try making UniqueEvents snapshot failed", Networking.ServerLog.MessageType.Error);
#endif
}
finally
{

View File

@@ -183,7 +183,9 @@ namespace Barotrauma
}
catch
{
GameServer.Log("Try making UniqueEvents snapshot failed", ServerLog.MessageType.Warning);
#if SERVER
Networking.GameServer.Log("Try making UniqueEvents snapshot failed", Networking.ServerLog.MessageType.Error);
#endif
}
finally
{