Skip to content

Commit 0c0ab92

Browse files
committed
chore: remove execute_menu_item sentinel flip from manage_script_edits; rely on import/compile
1 parent e433c0a commit 0c0ab92

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

UnityMcpBridge/UnityMcpServer~/src/tools/manage_script_edits.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,7 @@ def _flip():
104104
return
105105
except Exception:
106106
pass
107-
# Best‑effort, single-shot; avoid retries during reload window
108-
send_command_with_retry(
109-
"execute_menu_item",
110-
{"menuPath": "MCP/Flip Reload Sentinel"},
111-
max_retries=0,
112-
retry_ms=0,
113-
)
107+
# Removed best‑effort menu flip; rely on import/compile triggers instead
114108
except Exception:
115109
pass
116110

0 commit comments

Comments
 (0)