Let gdextension_dir function as only argument

pull/1258/head
Thaddeus Crews 2023-10-02 13:31:06 -05:00
parent 64eac01d04
commit 7a5cbcac21
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
1 changed files with 1 additions and 1 deletions

View File

@ -284,8 +284,8 @@ def generate(env):
def _godot_cpp(env):
api_file = normalize_path(env.get("custom_api_file", env.File("gdextension/extension_api.json").abspath), env)
extension_dir = normalize_path(env.get("gdextension_dir", env.Dir("gdextension").abspath), env)
api_file = normalize_path(env.get("custom_api_file", env.File(extension_dir + "/extension_api.json").abspath), env)
bindings = env.GodotCPPBindings(
env.Dir("."),
[