From a1f2f085e9a2790daecdb5a12d1075b64b2a3d92 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 24 一月 2022 11:45:43 +0800
Subject: [PATCH] 备份

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
index c660e9e..49e93b2 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
@@ -436,7 +436,10 @@
                         var tempScene = sceneList.Find((obj) => obj.userSceneId == scene.userSceneId);
                         if (tempScene != null)
                         {
-                            scene = tempScene;
+                            scene.name = tempScene.name;
+                            scene.delay = tempScene.delay;
+                            scene.roomIds = tempScene.roomIds;
+                            scene.functions = tempScene.functions;
                         }
                         Application.RunOnMainThread(() =>
                         {

--
Gitblit v1.8.0