From 629fda5749b5ed66fce896a04804811e7b89393c Mon Sep 17 00:00:00 2001 From: Emmanuel Leblond Date: Wed, 27 Dec 2023 18:28:56 +0100 Subject: [PATCH] Fix _pythonscript_deinitialize --- src/_pythonscript.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pythonscript.pyx b/src/_pythonscript.pyx index 0c8ae44d..e6695ba1 100644 --- a/src/_pythonscript.pyx +++ b/src/_pythonscript.pyx @@ -255,7 +255,7 @@ cdef api void _pythonscript_deinitialize(int p_level) noexcept with gil: print("Failed to unregister Python from Godot: failed to retreive `Engine::unregister_script_language`", flush=True) return - args = [_pythons_script_language._gd_ptr] + args = [&_pythons_script_language._gd_ptr] pythonscript_gdextension.object_method_bind_ptrcall( bind, singleton,