summaryrefslogtreecommitdiff
path: root/universe/src
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-08 00:59:29 +0100
committerAki <please@ignore.pl>2023-01-08 00:59:29 +0100
commit85e4741a6b39e436befacaf9778619696c9c5a33 (patch)
tree02c2f2c4b4d49711daac92a2aa772d3e2daea25b /universe/src
parent30865a57fb3f52607c14b9d210a256b3be3ddcb8 (diff)
downloadkurator-85e4741a6b39e436befacaf9778619696c9c5a33.zip
kurator-85e4741a6b39e436befacaf9778619696c9c5a33.tar.gz
kurator-85e4741a6b39e436befacaf9778619696c9c5a33.tar.bz2
Renamed health to structure points where applicable
Diffstat (limited to 'universe/src')
-rw-r--r--universe/src/JsonRepository.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}