Fix #20033: Asset packs cannot reference game data (#20034)

This commit is contained in:
Ted John 2023-04-24 21:55:36 +01:00 committed by GitHub
parent 2f25d4054b
commit 0cf24f0100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@
- Fix: [#19987] [Plugin] SetCheatAction has wrong ID in plugin API.
- Fix: [#20016] The group box for small scenery details in the Tile Inspector window has unused empty space.
- Fix: [#20018] Shops not calculating up-keep cost.
- Fix: [#20033] Asset packs cannot reference game data.
0.4.4 (2023-03-28)
------------------------------------------------------------------------

View File

@ -141,6 +141,8 @@ public:
ObjectAsset GetAsset(std::string_view path) override
{
if (Path::IsAbsolute(path))
return ObjectAsset(path);
return ObjectAsset(_zipPath, path);
}