Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:Thorium-Sim/thorium into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed Sep 21, 2021
2 parents e79a13c + ec9d0ea commit 37988ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/TorpedoLoading/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const TorpedoView = ({torpedo}) => {
if (torpedo.state === "idle") return "No Torpedos Loaded";

return `${capitalCase(
loaded ? loaded.type : lastLoaded && lastLoaded.type,
loaded ? loaded.type : (lastLoaded ? lastLoaded.type : ""),
)} Torpedo ${torpedo.state === "loaded" ? "Loaded" : "Fired"}`;
})()}
</OutputField>
Expand Down

0 comments on commit 37988ef

Please sign in to comment.