Fix auto connect for play mode (#1066)

This commit is contained in:
morosanu
2025-07-22 18:12:16 -04:00
committed by GitHub
parent 60f19df9a0
commit 7860f2717f
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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")