File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Multiplayer/Movement/Settings Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,9 @@ public void Hide()
179
179
if ( rootGo != null && rootGo . gameObject . activeSelf )
180
180
{
181
181
rootGo . gameObject . SetActive ( false ) ;
182
- terrainChunkColliders [ activeChunk ] . enabled = false ;
182
+
183
+ if ( activeChunk >= 0 && activeChunk < terrainChunkColliders . Count )
184
+ terrainChunkColliders [ activeChunk ] . enabled = false ;
183
185
184
186
IsTerrainShown = false ;
185
187
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ MonoBehaviour:
15
15
<InterpolationType>k__BackingField : 1
16
16
<PositionSingularityThreshold>k__BackingField : 10
17
17
<LookAtTimeDelta>k__BackingField : 0.001
18
- <UseSpeedUp>k__BackingField : 1
18
+ <UseSpeedUp>k__BackingField : 0
19
19
<MaxSpeedUpTimeDivider>k__BackingField : 2
20
20
<CatchUpMessagesMin>k__BackingField : 3
21
21
<UseBlend>k__BackingField : 0
Original file line number Diff line number Diff line change 9
9
using DCL . Multiplayer . Profiles . Entities ;
10
10
using DCL . Multiplayer . Profiles . Poses ;
11
11
using DCL . Multiplayer . Profiles . Tables ;
12
+ using DCL . Platforms ;
12
13
using ECS ;
13
14
using Global . AppArgs ;
14
15
using System . Threading ;
15
16
using Utility ;
16
17
using PlayerMovementNetSendSystem = DCL . Multiplayer . Movement . Systems . PlayerMovementNetSendSystem ;
17
18
using RemotePlayersMovementSystem = DCL . Multiplayer . Movement . Systems . RemotePlayersMovementSystem ;
18
- using SystemInfo = UnityEngine . Device . SystemInfo ;
19
19
20
20
namespace DCL . PluginSystem . Global
21
21
{
@@ -77,10 +77,9 @@ private void ConfigureCompressionUsage()
77
77
return ;
78
78
}
79
79
80
- string os = SystemInfo . operatingSystem ;
81
- if ( os . Contains ( "Windows" ) )
80
+ if ( IPlatform . DEFAULT . Is ( IPlatform . Kind . Windows ) )
82
81
this . settings . Value . UseCompression = featureFlagsCache . Configuration . IsEnabled ( FeatureFlagsStrings . MULTIPLAYER_COMPRESSION_WIN ) ;
83
- else if ( os . Contains ( " Mac" ) )
82
+ else if ( IPlatform . DEFAULT . Is ( IPlatform . Kind . Mac ) )
84
83
this . settings . Value . UseCompression = featureFlagsCache . Configuration . IsEnabled ( FeatureFlagsStrings . MULTIPLAYER_COMPRESSION_MAC ) ;
85
84
}
86
85
You can’t perform that action at this time.
0 commit comments