Skip to content
Snippets Groups Projects
Commit dbb98709 authored by Florent Berthaut's avatar Florent Berthaut
Browse files

Clean code

parent 9dbbb96a
Branches
No related tags found
Loading
......@@ -93,8 +93,7 @@ func _ready():
var global_patch = ProjectSettings.globalize_path(_pd_patch)
var patch_name = global_patch.split("/")[-1]
var patch_dir = global_patch.trim_suffix(patch_name)
_gdpd.openfile(patch_name, patch_dir)
gdpdok=true
gdpdok=_gdpd.openfile(patch_name, patch_dir)
if not gdpdok :
print("IVMI : Could not load gdpd addon")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment