Update ServerManagerDefault.cs

dev-hazim
Hazim Bin Ijaz 2 weeks ago
parent cc0e77a04d
commit 86f1797b79

@ -19,7 +19,7 @@ namespace DedicatedServer
Application.targetFrameRate = 60;
var config = DedicatedServerConfig.Resolve();
Log.Debug(config);
Debug.Log(config);
// Start a new Runner instance
var runner = Instantiate(_runnerPrefab);
@ -30,13 +30,13 @@ namespace DedicatedServer
// Check if all went fine
if (result.Ok)
{
Log.Debug($"Runner Start DONE");
Debug.Log($"Runner Start DONE");
// Log.Debug(PhotonAppSettings.Global.AppSettings.BestRegionSummaryFromStorage);
}
else
{
// Quit the application if startup fails
Log.Debug($"Error while starting Server: {result.ShutdownReason}");
Debug.Log($"Error while starting Server: {result.ShutdownReason}");
// it can be used any error code that can be read by an external application
// using 0 means all went fine

Loading…
Cancel
Save