From 0fcaa1950668bdeaffc099e0daef2acaf9b418cd Mon Sep 17 00:00:00 2001 From: teascade Date: Sat, 8 Aug 2020 01:29:29 +0300 Subject: [PATCH] Register MultipleSyncPckts --- Assets/RenderPipeline/DefaultLightingSettings.lighting | 2 +- Assets/Scripts/Networking/GameProtocol.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/RenderPipeline/DefaultLightingSettings.lighting b/Assets/RenderPipeline/DefaultLightingSettings.lighting index 8db8686..6ad6691 100644 --- a/Assets/RenderPipeline/DefaultLightingSettings.lighting +++ b/Assets/RenderPipeline/DefaultLightingSettings.lighting @@ -8,7 +8,7 @@ LightingSettings: m_PrefabAsset: {fileID: 0} m_Name: DefaultLightingSettings serializedVersion: 2 - m_GIWorkflowMode: 1 + m_GIWorkflowMode: 0 m_EnableBakedLightmaps: 1 m_EnableRealtimeLightmaps: 0 m_RealtimeEnvironmentLighting: 1 diff --git a/Assets/Scripts/Networking/GameProtocol.cs b/Assets/Scripts/Networking/GameProtocol.cs index 9327f92..1dc04b0 100644 --- a/Assets/Scripts/Networking/GameProtocol.cs +++ b/Assets/Scripts/Networking/GameProtocol.cs @@ -24,6 +24,7 @@ namespace NeonTea.Quakeball.Networking { RegisterPacket(typeof(PlayerUpdatePckt)); RegisterPacket(typeof(PlayerJumpPckt)); RegisterPacket(typeof(PlayerSyncPacket)); + RegisterPacket(typeof(MultipleSyncsPckt)); } public override void ConnectionStatusChanged(ConnectionStatus oldStatus, ConnectionStatus newStatus, Connection conn) {