From 7860f2717f2aba20dcad4bfcdb87e7cc28c833af Mon Sep 17 00:00:00 2001 From: morosanu Date: Tue, 22 Jul 2025 18:12:16 -0400 Subject: [PATCH] Fix auto connect for play mode (#1066) --- CHANGELOG.md | 3 ++- plugin/src/App/init.lua | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d426619d..3f98d844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Rojo Changelog ## Unreleased - +* Fixed `Auto Connect Playtest Server` no longer functioning due to Roblox change ([#1066]) * Added an update indicator to the version header when a new version of the plugin is available. ([#1069]) +[#1049]: https://github.com/rojo-rbx/rojo/pull/1066 [#1069]: https://github.com/rojo-rbx/rojo/pull/1069 ## 7.5.1 - April 25th, 2025 diff --git a/plugin/src/App/init.lua b/plugin/src/App/init.lua index 828f7299..74235656 100644 --- a/plugin/src/App/init.lua +++ b/plugin/src/App/init.lua @@ -386,7 +386,8 @@ function App:releaseSyncLock() end function App:isAutoConnectPlaytestServerAvailable() - return RunService:IsRunMode() + return RunService:IsRunning() + and RunService:IsStudio() and RunService:IsServer() and Settings:get("autoConnectPlaytestServer") and workspace:GetAttribute("__Rojo_ConnectionUrl")