autoconnect to local files via attribute

This commit is contained in:
Skekdog 2026-07-03 14:06:37 +01:00
parent a30a8ecd0f
commit 24e990f996
No known key found for this signature in database
GPG key ID: 76ABB55F67CDB92F

View file

@ -262,7 +262,7 @@ function App:getPriorSyncInfo(): { host: string?, port: string?, projectName: st
end
local id = tostring(game.PlaceId)
if ignorePlaceIds[id] then
if ignorePlaceIds[id] and not workspace:GetAttribute("__Rojo_ProjectName") then
return {}
end
@ -286,7 +286,7 @@ function App:setPriorSyncInfo(host: string, port: string, projectName: string)
end
local id = tostring(game.PlaceId)
if ignorePlaceIds[id] then
if ignorePlaceIds[id] and workspace:GetAttribute("__Rojo_ProjectName") ~= projectName then
return
end