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

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