From 7a96e33f7446b726ef1d66d180f9e05efa9449ea Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Thu, 17 Aug 2017 17:47:27 +0700 Subject: [PATCH] Treat process and fixed process as multilevel calls --- godot/nim/godotmacros.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/godot/nim/godotmacros.nim b/godot/nim/godotmacros.nim index 238a799..5a9a16c 100644 --- a/godot/nim/godotmacros.nim +++ b/godot/nim/godotmacros.nim @@ -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