Update to 8aa67a444486eab8e658473a4a3b670c51588ff2
This commit is contained in:
parent
87ff8f85d8
commit
7c3d796659
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func add_scene(sname: String, sclass: Node, type: CoreTypes.SceneType) -> bool:
|
||||||
logger.errorf("sms", "Scene with name \"" + sname + "\" already exists")
|
logger.errorf("sms", "Scene with name \"" + sname + "\" already exists")
|
||||||
return false
|
return false
|
||||||
if typeof(sclass) != TYPE_OBJECT or !sclass.is_class("Node"):
|
if typeof(sclass) != TYPE_OBJECT or !sclass.is_class("Node"):
|
||||||
logger.errorf("sms", "Scene class \"" + sname + "\" is not of type Node"
|
logger.errorf("sms", "Scene class \"" + sname + "\" is not of type Node")
|
||||||
return false
|
return false
|
||||||
sclass.name = sname
|
sclass.name = sname
|
||||||
match(type):
|
match(type):
|
||||||
|
|
Loading…
Reference in a new issue