veloren/common/assets/src
juliancoffee 1dd621a56f serialize AssetTweakWrapper<T>, not just T
asset_tweak::tweak_expect_or_create works by writing default data to
file and then read it as asset.
the problem is that it was writing T, and read AssetTweakWrapper<T>
which are different types.

Tests didn't handle case when you will load data back so bug was hidden.
2021-06-08 22:39:51 +03:00
..
lib.rs serialize AssetTweakWrapper<T>, not just T 2021-06-08 22:39:51 +03:00