mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
autoconnect to local files via attribute
This commit is contained in:
parent
a30a8ecd0f
commit
24e990f996
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue