diff --git a/scripts/check-native-shells.mjs b/scripts/check-native-shells.mjs index 2e4fd3631..b128630f1 100644 --- a/scripts/check-native-shells.mjs +++ b/scripts/check-native-shells.mjs @@ -2485,7 +2485,7 @@ function assertAiGameCreatorShellUserDevBoundary() { } for (const snippet of [ '#[cfg(all(debug_assertions, not(test)))]\npub(crate) fn open_developer_window(', - '#[cfg(all(debug_assertions, not(test)))]\n open_developer_window(app.handle())?;', + '#[cfg(all(debug_assertions, not(test)))]\n if game_chat_launch.is_none() {\n open_developer_window(app.handle())?;\n }', ]) { if (!aiGameCreatorShellTauriSource.includes(snippet)) { throw new Error(