mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Add control stage asserts
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user