From bb566dc57c28919d3f044f3a60ebc6fb3bea1fea Mon Sep 17 00:00:00 2001
From: omuretsu <84951833+Snarling@users.noreply.github.com>
Date: Tue, 3 Jan 2023 12:23:38 -0500
Subject: [PATCH] hotfix
* Fix ramcost for corporation.bonusTime (must be 0 because other getBonusTime functions exist).
* Fix ui hook names for overview.
---
src/Netscript/RamCostGenerator.ts | 2 +-
src/ui/React/CharacterOverview.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Netscript/RamCostGenerator.ts b/src/Netscript/RamCostGenerator.ts
index 9caa8292b..f7d1e3bd5 100644
--- a/src/Netscript/RamCostGenerator.ts
+++ b/src/Netscript/RamCostGenerator.ts
@@ -369,7 +369,7 @@ const corporation = {
issueDividends: RamCostConstants.Corporation,
buyBackShares: RamCostConstants.Corporation,
sellShares: RamCostConstants.Corporation,
- getBonusTime: RamCostConstants.Corporation,
+ getBonusTime: 0,
sellMaterial: RamCostConstants.Corporation,
sellProduct: RamCostConstants.Corporation,
discontinueProduct: RamCostConstants.Corporation,
diff --git a/src/ui/React/CharacterOverview.tsx b/src/ui/React/CharacterOverview.tsx
index d631cf28c..4dc710faf 100644
--- a/src/ui/React/CharacterOverview.tsx
+++ b/src/ui/React/CharacterOverview.tsx
@@ -148,7 +148,7 @@ export function DataRow({ name, showBar, color, cellType }: DataRowProps): React
-
+
{}