Skip to content

Commit

Permalink
Some pythonscirpt fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas2902 committed Nov 3, 2024
1 parent 56d1e72 commit 5fd7791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py4godot/godot_bindings/pythonscript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ extern "C" {

// Close the library handle
dlclose(handle);
return result;

#endif
#ifdef _WIN64
// Direct call on Windows, where dynamic linking is handled differently
py4godot_init(p_get_proc_address, p_library, r_initialization);
return 1;
#endif

return result;
}
}

Expand Down

0 comments on commit 5fd7791

Please sign in to comment.