create: Checkpoint 2026-10-23 18:50:51 UTC [c562454536]
MemRelay-Operation: checkpoint-save:force-remove-fix-20261024-0251 MemRelay-Resource: 677a5935-028f-4062-bcf6-5d966f78e77f
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: Checkpoint 2026-10-23 18:50:51 UTC [c562454536]
|
||||||
|
type: checkpoint
|
||||||
|
permalink: main/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/checkpoint-2026-10-23-18-50-51-utc-c562454536
|
||||||
|
stable_id: 677a5935-028f-4062-bcf6-5d966f78e77f
|
||||||
|
scope: project
|
||||||
|
memory_type: checkpoint
|
||||||
|
project_id: d2b9f121-7638-43b7-97a8-17bdddcd238a
|
||||||
|
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||||
|
status: active
|
||||||
|
revision: 1
|
||||||
|
request_id: force-remove-fix-20261024-0251
|
||||||
|
created_at: '2026-10-23T18:50:51.103093+00:00'
|
||||||
|
updated_at: '2026-10-23T18:50:51.103093+00:00'
|
||||||
|
tags:
|
||||||
|
- sotfassist
|
||||||
|
- force-remove
|
||||||
|
---
|
||||||
|
|
||||||
|
修复强制拆除不生效。玩家已开关,对准承重柱会出现红叉,但柱子不掉。原因:游戏拒绝拆除后 ConstructionInput.DismantleHeld 不再为真,旧逻辑把这当成松手并清掉计时。现在用 InputSystem.GetButton(DismantleElement) 判断拆除键仍按住,默认键盘是 C。优先拆 StructurallyBlockedElementCollect.ElementToRemove,否则射线取准的 StructureElement;只在 IsSupportingAny 或 TryGetRemoveableElement 失败时强拆。单根建筑销毁整个 Structure,多根只销毁对准的那一根,并按 DisassembleItemYield 退材料。版本 1.0.10。编译通过。游戏进程 22256 已关闭以覆盖 DLL。未进游戏实测。
|
||||||
Reference in New Issue
Block a user