veloren/common/assets
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
..
src serialize AssetTweakWrapper<T>, not just T 2021-06-08 22:39:51 +03:00
Cargo.toml put serde behind feature gate 2021-06-08 14:03:15 +03:00