diff --git a/plugins/stockpiles/StockpileSerializer.cpp b/plugins/stockpiles/StockpileSerializer.cpp index e5873988f..b6511d759 100644 --- a/plugins/stockpiles/StockpileSerializer.cpp +++ b/plugins/stockpiles/StockpileSerializer.cpp @@ -828,7 +828,6 @@ void StockpileSerializer::furniture_setup_other_mats() void StockpileSerializer::write_furniture() { StockpileSettings::FurnitureSet *furniture= mBuffer.mutable_furniture(); - furniture->set_sand_bags ( mPile->settings.furniture.sand_bags ); // FURNITURE type using df::enums::furniture_type::furniture_type; @@ -880,11 +879,6 @@ void StockpileSerializer::read_furniture() const StockpileSettings::FurnitureSet furniture = mBuffer.furniture(); debug() << "furniture:" <settings.furniture.sand_bags = mBuffer.furniture().sand_bags(); - else - mPile->settings.furniture.sand_bags = false; - // type using df::enums::furniture_type::furniture_type; df::enum_traits type_traits; diff --git a/plugins/stockpiles/proto/stockpiles.proto b/plugins/stockpiles/proto/stockpiles.proto index 59e905031..5868586f4 100644 --- a/plugins/stockpiles/proto/stockpiles.proto +++ b/plugins/stockpiles/proto/stockpiles.proto @@ -39,7 +39,7 @@ message StockpileSettings { repeated string mats = 3; repeated string quality_core = 4; repeated string quality_total = 5; - optional bool sand_bags = 6; + // UNUSED: optional bool sand_bags = 6; } message RefuseSet { repeated string type = 1;