Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/instances/create.luau
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ type instance = Instance
type Action = action.Identity

type function GetInstance(class_name: type, instances: type): type
if not class_name:is("singleton") then
if class_name:is("extern") then
return class_name
elseif not class_name:is("singleton") then
return instance
end

Expand Down