From 8e32ff251c8ae1d70ca9dfb726e14fe49e0240ed Mon Sep 17 00:00:00 2001 From: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Date: Mon, 24 Apr 2023 13:27:52 -0400 Subject: [PATCH] Fixes the biogenerator displaying item costs that were being divided by the machine's efficiency twice (#74939) ## About The Pull Request It was really bugging me that I would see a price being displayed in my biogenerator, only for it to then cost me far more than what was displayed. Looking into it, I realized that it was simply an issue with it dividing the cost by the efficiency in the TGUI, when that math was already done DM-side. ## Why It's Good For The Game Being charged the cost you see on the machine is good. ## Changelog :cl: GoldenAlpharex fix: Biogenerators now display the accurate price of their products after having been upgraded, as they no longer visually apply the efficiency discount twice. /:cl: --- tgui/packages/tgui/interfaces/Biogenerator.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tgui/packages/tgui/interfaces/Biogenerator.tsx b/tgui/packages/tgui/interfaces/Biogenerator.tsx index 02317560937..1ee9444d313 100644 --- a/tgui/packages/tgui/interfaces/Biogenerator.tsx +++ b/tgui/packages/tgui/interfaces/Biogenerator.tsx @@ -213,11 +213,7 @@ const ItemList = (props, context) => {