Add control stage asserts

This commit is contained in:
Cooldude2606 committed 2025-01-30 00:07:06 +00:00
1 parent e67959a239
commit 0b665bbd46
2 files changed
+22 -21

No files matched your search

+1
View File
@@ -101,6 +101,7 @@ end
--- @param scope string
--- @return ExpGui.GuiData
function GuiData.create(scope)
ExpUtil.assert_not_runtime()
assert(GuiData._scopes[scope] == nil, "Scope already exists with name: " .. scope)
local instance = {