Skip to content

Commit

Permalink
Disable cluster usage in loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
martins-mozeiko committed Dec 2, 2019
1 parent 6487e3a commit 7ed7c52
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Assets/Scripts/Web/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -670,14 +670,14 @@ static void SetupScene(SimulationModel simulation)
var sim = CreateSimulationManager();

// TODO: properly connect to cluster instances
if (Instance.SimConfig.Clusters.Length > 0)
{
SimulatorManager.SetTimeScale(0);

StartNetworkMaster();
Instance.Master.AddClients(Instance.SimConfig.Clusters);
}
else
//if (Instance.SimConfig.Clusters.Length > 0)
//{
// SimulatorManager.SetTimeScale(0);

// StartNetworkMaster();
// Instance.Master.AddClients(Instance.SimConfig.Clusters);
//}
//else
{
Instance.CurrentSimulation = simulation;

Expand Down

0 comments on commit 7ed7c52

Please sign in to comment.