diff --git a/methods.py b/methods.py index d9bc4fcb0659..a4f8bae1143a 100644 --- a/methods.py +++ b/methods.py @@ -164,7 +164,7 @@ def is_engine(path): if os.path.exists(version_path): with open(version_path) as f: version = {} - exec(f.read(), version) + exec(f.read(), version) in locals() if version.get("short_name") == "godot": return True return False