Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Fix excess and deficit display in intel
Browse files Browse the repository at this point in the history
  • Loading branch information
jaghaimo committed Apr 28, 2022
1 parent 59e5df1 commit 0698f13
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions assets/mod_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"name": "Stellar Networks",
"author": "Jaghaimo",
"utility": true,
"version": "2.5.0",
"version": "2.5.1",
"description": "A collection of intel boards for Starsector",
"gameVersion": "0.95.1a-RC6",
"modPlugin": "stelnet.StelnetMod",
"jars": ["stelnet.jar"]
}
"jars": [
"stelnet.jar"
]
}
6 changes: 3 additions & 3 deletions assets/stelnet.version
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"modVersion": {
"major": 2,
"minor": 5,
"patch": 0
"patch": 1
},
"directDownloadURL": "https://github.com/jaghaimo/stelnet/releases/download/2.5.0/stelnet-2.5.0.zip"
}
"directDownloadURL": "https://github.com/jaghaimo/stelnet/releases/download/2.5.1/stelnet-2.5.1.zip"
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private void render(TooltipMakerAPI tooltip, List<CargoStackAPI> stacks, String
return;
}
tooltip.addSpacer(10f);
CargoAPI cargo = StelnetHelper.makeCargoFromStacks(excess);
CargoAPI cargo = StelnetHelper.makeCargoFromStacks(stacks);
ShowCargo showCargo = new ShowCargo(cargo, label, "", size);
showCargo.setTitleColor(factionColor);
showCargo.render(tooltip);
Expand Down

0 comments on commit 0698f13

Please sign in to comment.