From b7fdcf97fe2a194934d6d7211a981f9110cee027 Mon Sep 17 00:00:00 2001 From: Ding Yuntian <1491671119@qq.com> Date: Wed, 22 Jul 2026 04:01:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=92=E5=A4=B4=E4=B8=8D=E6=8B=94?= =?UTF-8?q?=E5=87=BA=E5=B1=8F=E5=B9=95=E4=B8=8D=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Screen System/FixPanel/CablePanel.cs | 6 +++-- Assets/Yarn/FP/FP_Huoshan1/Stage2.yarn | 16 ++++++------ .../FP/FP_Peipei1/Stage2_外部检查&UF.yarn | 26 +++++++++---------- Assets/Yarn/FP/FP_Peipei1/Stage8_复查.yarn | 8 +++--- Assets/Yarn/FP/FP_Peipei2/Stage11_手术.yarn | 4 +-- .../Yarn/FP/FP_Peipei2/Stage3_身体检查.yarn | 24 ++++++++--------- 6 files changed, 43 insertions(+), 41 deletions(-) diff --git a/Assets/Scripts/FixSystemNew/Screen System/FixPanel/CablePanel.cs b/Assets/Scripts/FixSystemNew/Screen System/FixPanel/CablePanel.cs index cd598e842..f94182b9c 100644 --- a/Assets/Scripts/FixSystemNew/Screen System/FixPanel/CablePanel.cs +++ b/Assets/Scripts/FixSystemNew/Screen System/FixPanel/CablePanel.cs @@ -245,11 +245,13 @@ namespace AibisDream.FixSystem private void OnPullUpSocket() { + bool wasPlugged = curSocket != null; curSocket?.PlugOut(); AudioManager.Instance.PlaySfx("event:/FollowInput/plugout"); - // 如果是模块 - if (!EventSystemEx.Instance.isLocked && curSocket is BodyModule) + // 只要插头确实从 Socket 拔出,就通知 Screen 清空。 + // 空闲状态下的防御性 PullUpSocket 调用不会误触发该事件。 + if (wasPlugged) { EnumEventSystem.Global.Send(EventEnum.PlugOut); } diff --git a/Assets/Yarn/FP/FP_Huoshan1/Stage2.yarn b/Assets/Yarn/FP/FP_Huoshan1/Stage2.yarn index 322852468..2cb71a1d9 100644 --- a/Assets/Yarn/FP/FP_Huoshan1/Stage2.yarn +++ b/Assets/Yarn/FP/FP_Huoshan1/Stage2.yarn @@ -96,7 +96,7 @@ EmoModule: 已与情绪模块建立连接! #line:0b19318 <> ->结束 #line:006eb35 <> -<> +//<> === title: 检查记忆 @@ -129,7 +129,7 @@ MemModule: 已与记忆模块建立连接! #line:00bc46a <> ->结束 #line:0e7f27a <> - <> + //<> //<> === @@ -189,7 +189,7 @@ LogicModule: 已与逻辑模块建立连接! #line:0a019ad // <> ->结束 #line:0880ccd <> -<> +//<> === title: 检查视觉 @@ -228,7 +228,7 @@ EyeModule: 已与视觉模块建立连接! #line:0ac783f <> ->结束 #line:0e66d9b <> -<> +//<> === title: 检查表达 @@ -309,7 +309,7 @@ SpeakerModule: 已与表达模块建立连接! #line:027b73c //SpeakerModule: #line:061f0f5 SpeakerModule: 溢出告警 #line:02bdf53 // <> - <> + //<> Error: #line:07caad4 <> Error: 系统保护性中断。请释放内存。 #line:08b6066 @@ -359,7 +359,7 @@ SpeakerModule: 已与表达模块建立连接! #line:027b73c <> ->结束 #line:0fdaf73 <> -<> +//<> === title: 检查销售模块 @@ -460,7 +460,7 @@ SaleModule: 已与销售语言拓展模块建立连接! #line:0448f12 <> ->结束 #line:0f8d528 <> - <> + //<> === @@ -482,6 +482,6 @@ group: 插线检查 position: 300,1118 --- <> -<> +//<> === diff --git a/Assets/Yarn/FP/FP_Peipei1/Stage2_外部检查&UF.yarn b/Assets/Yarn/FP/FP_Peipei1/Stage2_外部检查&UF.yarn index b663b9757..e97d3fea0 100644 --- a/Assets/Yarn/FP/FP_Peipei1/Stage2_外部检查&UF.yarn +++ b/Assets/Yarn/FP/FP_Peipei1/Stage2_外部检查&UF.yarn @@ -111,7 +111,7 @@ position: 104,-2498 <> ->结束 #line:0689336 <> - <> + //<> <> Linking: 正在建立连接… #line:00e61f7 <> @@ -124,17 +124,17 @@ position: 104,-2498 <> me: 虽然有错误…但它竟然拒绝我进行深入检查。 #line:0d0e3c8 <> - <> + //<> <> me: 只能按照它说的,去视觉模块检查一下了…… #line:05ea5d3 - <> + //<> <> me: 先去记忆模块检查一下记忆打孔带吧。 #line:0112d94 - <> + //<> <> ->结束 #line:0b093fa <> - <> + //<> <> === @@ -181,7 +181,7 @@ position: 572,-2497 <> <> ->结束 #line:01e5f0b - <> + //<> <> <> @@ -200,10 +200,10 @@ position: 572,-2497 <> ->结束 #line:042d124 <> - <> + //<> ->结束 #line:03a68dd <> - <> + //<> <> === @@ -245,7 +245,7 @@ MemModule: 已与记忆模块建立连接! #line:08a12cc me: 记忆模块一切正常。 #line:067e962 <> ->结束 #line:03b53e1 - <> + //<> <> === @@ -311,7 +311,7 @@ ChipModule: 已与附加模块建立连接! #line:03032df <> <> ->结束 #line:0f57b73 -<> +//<> === title: 检查情绪 @@ -348,7 +348,7 @@ EmoModule: 已与情绪模块建立连接! #line:00d2d0b <> <> ->结束 #line:01369b7 -<> +//<> === title: 检查语言 @@ -379,7 +379,7 @@ SpeakerModule: 已与表达模块建立连接! #line:0ce06c1 me: 表达模块正常…不过看起来很长一段时间内都没有什么使用痕迹。 #line:080f93f <> ->结束 #line:087bb69 -<> +//<> === title: 检查逻辑 @@ -420,6 +420,6 @@ LogicModule: 已与逻辑模块建立连接! #line:0d49573 me: 逻辑模块一切正常。 #line:01bdd75 <> ->结束 #line:02fc442 -<> +//<> === diff --git a/Assets/Yarn/FP/FP_Peipei1/Stage8_复查.yarn b/Assets/Yarn/FP/FP_Peipei1/Stage8_复查.yarn index 1fb21967d..e909859f6 100644 --- a/Assets/Yarn/FP/FP_Peipei1/Stage8_复查.yarn +++ b/Assets/Yarn/FP/FP_Peipei1/Stage8_复查.yarn @@ -88,10 +88,10 @@ UfModule: 已与*UnstableFusion图像生成模块*建立连接! #line:07fd83b <> UfModule: 检查完成!未检测到错误。 #line:0807bca me: 搞定…报错已经消失了。 #line:0d9c586 - <> + //<> ->结束 #line:064b992 <> - <> + //<> === title: 复查_检查视觉 @@ -127,9 +127,9 @@ EyeModule: 已与视觉模块建立连接! #line:0dc8d9d <> ->结束 #line:0aa268c <> - <> + //<> ->结束 #line:0ec9395 - <> + //<> === title: Eye_skyAfterSurgery diff --git a/Assets/Yarn/FP/FP_Peipei2/Stage11_手术.yarn b/Assets/Yarn/FP/FP_Peipei2/Stage11_手术.yarn index 4be8982bc..1bd4172f5 100644 --- a/Assets/Yarn/FP/FP_Peipei2/Stage11_手术.yarn +++ b/Assets/Yarn/FP/FP_Peipei2/Stage11_手术.yarn @@ -127,7 +127,7 @@ EyeModule: 已与视觉模块建立连接! #line:0f3996e <> <> ->结束 #line:00f1ddd - <> + //<> === title: 色彩校准测试 @@ -196,7 +196,7 @@ MemModule: 未检测到可查看的记忆卡带。 #line:00d2cb0 MemModule: #line:05ab90a MemModule: 报告传输完毕。 #line:0b75804 ->结束 #line:093f0ff -<> +//<> === title: RecoverColor diff --git a/Assets/Yarn/FP/FP_Peipei2/Stage3_身体检查.yarn b/Assets/Yarn/FP/FP_Peipei2/Stage3_身体检查.yarn index bff081d36..b421de9ee 100644 --- a/Assets/Yarn/FP/FP_Peipei2/Stage3_身体检查.yarn +++ b/Assets/Yarn/FP/FP_Peipei2/Stage3_身体检查.yarn @@ -73,9 +73,9 @@ EmoModule: 已与情绪模块建立连接! #line:043977a me: 情绪受到发热的影响…但整体没什么问题。 #line:01e49a5 <> <> - <> + //<> ->结束 #line:023363b - <> + //<> === title: 检查语言 @@ -112,9 +112,9 @@ SpeakerModule: 已与表达模块建立连接! #line:08e4ff7 me: 不过问题不在这里。 #line:09e9fb2 <> <> - <> + //<> ->结束 #line:0abade5 - <> + //<> === title: 检查逻辑 @@ -157,9 +157,9 @@ LogicModule: 已与逻辑处理模块建立连接! #line:0c7c186 me: 不过问题不在这里。 #line:0cfae42 <> <> - <> + //<> ->结束 #line:01a56ca - <> + //<> === title: 检查色觉 @@ -191,9 +191,9 @@ ChipModule: 已与附加模块建立连接! #line:0e44178 <> <> <> - <> + //<> ->结束 #line:080d555 - <> + //<> === title: 检查记忆 @@ -228,9 +228,9 @@ MemModule: 未检测到可查看的记忆卡带。 #line:0cba6c7 <> me: 不过记忆模块本身看起来没有出什么问题。 #line:0c179b1 <> - <> + //<> ->结束 #line:04b8b2b - <> + //<> === title: 检查UF_不可检查 @@ -310,9 +310,9 @@ EyeModule: 已与视觉模块建立连接! #line:0a489b0 me: 没有新的问题……至少没有会影响UF的问题。 #line:06f508b <> <> - <> + //<> ->结束 #line:046ec30 - <> + //<> === title: 第二次发热前对话