summaryrefslogtreecommitdiffhomepage
path: root/serialize/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 22:01:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 22:01:38 +0100
commit1a84f009b39c070a8d4f4931e2376936190a161e (patch)
tree7ad71362644592e95f8eeb5f331b1f7cdd3b841e /serialize/scenery.cpp
parent96e3bb9c8a368f649bfb1c60a3fe92b9d415c288 (diff)
a
Diffstat (limited to 'serialize/scenery.cpp')
-rw-r--r--serialize/scenery.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/serialize/scenery.cpp b/serialize/scenery.cpp
index 8cad1d9a..c3e6bda8 100644
--- a/serialize/scenery.cpp
+++ b/serialize/scenery.cpp
@@ -170,7 +170,6 @@ void adl_serializer<serialized_scenery>::to_json(json& j, const serialized_scene
j = val.proto;
const auto name = !val.name.isEmpty() ? StringView{val.name} : val.proto.atlas->name();
j["name"] = name;
- j["description"] = val.descr;
}
void adl_serializer<serialized_scenery>::from_json(const json& j, serialized_scenery& val)
@@ -178,8 +177,6 @@ void adl_serializer<serialized_scenery>::from_json(const json& j, serialized_sce
val = {};
val.proto = j;
val.name = j["name"];
- if (j.contains("description"))
- val.descr = j["description"];
}
} // namespace nlohmann