Skip to content

Commit

Permalink
feat: Use configuration instead of folder. While this forces a datamo…
Browse files Browse the repository at this point in the history
…del event to fire, it means we scan less classes on the client, and it's easier to see in the explorer
  • Loading branch information
Quenty committed Oct 4, 2024
1 parent f187547 commit 06a342f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tie/src/Shared/TieDefinition.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ function TieDefinition:GetNewImplClass(tieRealm)
assert(TieRealmUtils.isTieRealm(tieRealm), "Bad tieRealm")

if tieRealm == TieRealms.CLIENT then
return "Folder"
return "Configuration"
else
return "Camera"
end
end

local IMPL_CLIENT_SET = table.freeze({
["Folder"] = true;
["Configuration"] = true;
})

local IMPL_SERVER_SET = table.freeze({
Expand All @@ -177,7 +177,7 @@ local IMPL_SERVER_SET = table.freeze({

local IMPL_SHARED_SET = table.freeze({
["Camera"] = true;
["Folder"] = true;
["Configuration"] = true;
})

function TieDefinition:GetImplClassSet(tieRealm)
Expand Down

0 comments on commit 06a342f

Please sign in to comment.