From 85e4741a6b39e436befacaf9778619696c9c5a33 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 8 Jan 2023 00:59:29 +0100 Subject: Renamed health to structure points where applicable --- universe/src/JsonRepository.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'universe/src') diff --git a/universe/src/JsonRepository.cpp b/universe/src/JsonRepository.cpp index a4abfe5..40b0b70 100644 --- a/universe/src/JsonRepository.cpp +++ b/universe/src/JsonRepository.cpp @@ -26,7 +26,7 @@ void from_json(const json& item, ShipType& ship) { item.at("name").get_to(ship.name); - item.at("base_health_points").get_to(ship.base_health_points); + item.at("base_structure_points").get_to(ship.base_structure_points); item.at("max_speed").get_to(ship.max_speed); } -- cgit v1.1