fix editor entities and work on client respawning

This commit is contained in:
2024-04-23 20:01:12 -04:00
parent cb6b7eb79c
commit c6907291b4
5 changed files with 12 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ function StudioEntities.indexAll(enabled: boolean)
end
else
for i = 1, #StudioEntities.IndexedEntities do
local Entity: Instance = EditorEntities[i]
local Entity = EditorEntities[i]
EditorEntities[Entity.Name](Entity, enabled)
end
end

View File

@@ -2,7 +2,7 @@
--!native
--!strict
local ShowEditorEntities = game:GetService("RunService"):IsStudio()
local ShowEditorEntities = true
local Storage = game:GetService("ReplicatedStorage")