diff --git a/godot.nimble b/godot.nimble index badccf4..fa351a8 100644 --- a/godot.nimble +++ b/godot.nimble @@ -1,4 +1,4 @@ -version = "0.5.7" +version = "0.5.8" author = "Xored Software, Inc." description = "Godot Engine bindings" license = "MIT" diff --git a/godot/nim/godotmacros.nim b/godot/nim/godotmacros.nim index 0fa2d9f..9ff9b66 100644 --- a/godot/nim/godotmacros.nim +++ b/godot/nim/godotmacros.nim @@ -466,7 +466,7 @@ proc genType(obj: ObjectDecl): NimNode {.compileTime.} = returnType: newEmptyNode(), isVirtual: true, isNoGodot: false, - nimNode: newProc(ident("init"), body = initBody, + nimNode: newProc(postfix(ident("init"), "*"), body = initBody, procType = nnkMethodDef) )) else: