diff --git a/main.xml b/main.xml index 51c0e41..2206c7e 100644 --- a/main.xml +++ b/main.xml @@ -689,6 +689,9 @@ end function addChild(frame, actor) + if not frame or not actor then + error('uranium: frame and actor must both Exist', 2) + end if actorsInitializing then error('uranium: cannot create frame-child associations during actor initialization', 2) end