Skip to content

Commit

Permalink
Changed Photon settings to best region
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinisch committed Nov 24, 2016
1 parent 0ed19f7 commit 8fd6774
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9f3758f8f58fdef43803eb9be1df0608, type: 3}
m_Name: PhotonServerSettings
m_EditorClassIdentifier:
HostType: 1
HostType: 4
Protocol: 0
ServerAddress:
ServerPort: 5055
Expand Down
4 changes: 4 additions & 0 deletions Assets/Scripts/Networking/DarkestPhotonLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ void Awake()

// Auto sync loaded level with master client
PhotonNetwork.automaticallySyncScene = false;

PhotonNetwork.MaxResendsBeforeDisconnect = 10;

PhotonNetwork.QuickResends = 3;
}
else
Destroy(gameObject);
Expand Down

0 comments on commit 8fd6774

Please sign in to comment.