Skip to content

Commit

Permalink
Match renamed speed values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanrek committed Jul 13, 2023
1 parent 8490c00 commit 025b886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/items.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions scripts/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def _make_emp(components_element):
def _make_flight_controller(components_element):
params_element = components_element.single("ifcsparams")
return {
"scmSpeed": float(params_element.get("@maxspeed", 0)),
"maxSpeed": float(params_element.get("@maxafterburnspeed", 0)),
"scmSpeed": float(params_element.get("@scmspeed", 0)),
"maxSpeed": float(params_element.get("@maxspeed", 0)),
"maxAngularVelocityX": float(params_element.single("maxangularvelocity").get("@x", 0)),
"maxAngularVelocityY": float(params_element.single("maxangularvelocity").get("@y", 0)),
"maxAngularVelocityZ": float(params_element.single("maxangularvelocity").get("@z", 0))
Expand Down

0 comments on commit 025b886

Please sign in to comment.