Skip to content

Commit

Permalink
🔀 Merge pull request #87 from rster2002/fix-casing
Browse files Browse the repository at this point in the history
Fix casing
  • Loading branch information
rster2002 committed Aug 7, 2024
2 parents 8898538 + e224c4c commit a45ceb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/galaxy/models/planet_class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ pub enum PlanetClass {
SudarskyClassIGasGiant,

#[serde(rename = "Sudarsky class II gas giant")]
SudarskyClassIiGasGiant,
SudarskyClassIIGasGiant,

#[serde(rename = "Sudarsky class III gas giant")]
SudarskyClassIiiGasGiant,
SudarskyClassIIIGasGiant,

#[serde(rename = "Sudarsky class IV gas giant")]
SudarskyClassIvGasGiant,
SudarskyClassIVGasGiant,

#[serde(rename = "Sudarsky class V gas giant")]
SudarskyClassVGasGiant,
Expand All @@ -67,7 +67,7 @@ impl PlanetClass {
PlanetClass::MetalRichBody => 21_790,
PlanetClass::AmmoniaWorld => 96_932,
PlanetClass::SudarskyClassIGasGiant => 1_656,
PlanetClass::SudarskyClassIiGasGiant => 9_654,
PlanetClass::SudarskyClassIIGasGiant => 9_654,
PlanetClass::HighMetalContentBody => 9_654,
PlanetClass::WaterWorld => 64_831,
PlanetClass::EarthlikeBody => 64_831,
Expand All @@ -81,7 +81,7 @@ impl PlanetClass {
PlanetClass::MetalRichBody => 65_631,
PlanetClass::AmmoniaWorld => 0,
PlanetClass::SudarskyClassIGasGiant => 0,
PlanetClass::SudarskyClassIiGasGiant => 100_677,
PlanetClass::SudarskyClassIIGasGiant => 100_677,
PlanetClass::HighMetalContentBody => 100_677,
PlanetClass::WaterWorld => 116_295,
PlanetClass::EarthlikeBody => 116_295,
Expand Down

0 comments on commit a45ceb4

Please sign in to comment.