Skip to content

Commit

Permalink
Add minimum GDevelop version for examples with 3D physics
Browse files Browse the repository at this point in the history
  • Loading branch information
4ian committed Dec 20, 2024
1 parent caf21ff commit cc158a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/generate-database.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,11 @@ const extractExamples = async (
),
license: fileWithMetadata.license,
projectFileUrl: getResourceUrl(fileWithMetadata.path),
gdevelopVersion: '', //TODO: set to the GDevelop version used to author the example?
gdevelopVersion: usedExtensions
.map((exampleUsedExtension) => exampleUsedExtension.name)
.includes('Physics3D')
? '5.5.200'
: '', //TODO: set to the GDevelop version used to author the example?
};

return example;
Expand Down

0 comments on commit cc158a9

Please sign in to comment.