Treat process and fixed process as multilevel calls

This commit is contained in:
Ruslan Mustakov 2017-08-17 17:47:27 +07:00
commit 7a96e33f74

View file

@ -539,6 +539,8 @@ proc genType(obj: ObjectDecl): NimNode {.compileTime.} =
GodotVariant {.noconv.} =
let self = cast[classNameIdent](userData)
const isStaticCall = methodNameLit == cstring"_ready" or
methodNameLit == cstring"_process" or
methodNameLit == cstring"_fixed_process" or
methodNameLit == cstring"_enter_tree" or
methodNameLit == cstring"_exit_tree" or
methodNameLit == cstring"_enter_world" or