Skip to content

Commit 2e5750c

Browse files
authored
Merge pull request #371 from LukeStampfli/feature/fix-networkconfig
fix: NetworkConfig exclude registered scenes list from hash if scene managment is disabled
2 parents 65c9075 + 3e7f96b commit 2e5750c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MLAPI/Configuration/NetworkConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ public ulong GetConfig(bool cache = true)
344344
writer.WriteUInt16Packed(ProtocolVersion);
345345
writer.WriteString(MLAPIConstants.MLAPI_PROTOCOL_VERSION);
346346

347-
if (!AllowRuntimeSceneChanges)
347+
if (EnableSceneManagement && !AllowRuntimeSceneChanges)
348348
{
349349
for (int i = 0; i < RegisteredScenes.Count; i++)
350350
{

0 commit comments

Comments
 (0)