Fix genSingletonWithDerived
This commit is contained in:
parent
8d49c0b910
commit
3d9839ceed
1 changed files with 1 additions and 1 deletions
|
|
@ -810,7 +810,7 @@ proc genSingletonWithDerived(tree: PNode, typ: GodotType,
|
|||
genDecl(typ)
|
||||
for otherType in sortedTypes:
|
||||
if otherType.baseName in parents:
|
||||
parents.incl(otherType.baseName)
|
||||
parents.incl(otherType.name)
|
||||
genDecl(otherType)
|
||||
|
||||
tree.add(genSingletonDecl(typ.name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue