From 00f8c0a51ff42384b3e58c02e9dc93072a4d2f1b Mon Sep 17 00:00:00 2001 From: danielyxie Date: Tue, 4 Jun 2019 21:31:45 -0700 Subject: [PATCH] Removed debug stuff for beta branch --- src/StockMarket/PlayerInfluencing.ts | 2 -- src/StockMarket/ui/StockTickerHeaderText.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/StockMarket/PlayerInfluencing.ts b/src/StockMarket/PlayerInfluencing.ts index 0162475f4..f73006f2a 100644 --- a/src/StockMarket/PlayerInfluencing.ts +++ b/src/StockMarket/PlayerInfluencing.ts @@ -31,7 +31,6 @@ export function influenceStockThroughServerHack(server: Server, moneyHacked: num const percTotalMoneyHacked = moneyHacked / server.moneyMax; if (Math.random() < percTotalMoneyHacked) { - console.log(`Influencing stock ${stock.name}`); stock.changeForecastForecast(stock.otlkMagForecast - forecastForecastChangeFromHack); } } @@ -53,7 +52,6 @@ export function influenceStockThroughServerGrow(server: Server, moneyGrown: numb const percTotalMoneyGrown = moneyGrown / server.moneyMax; if (Math.random() < percTotalMoneyGrown) { - console.log(`Influencing stock ${stock.name}`); stock.changeForecastForecast(stock.otlkMagForecast + forecastForecastChangeFromHack); } } diff --git a/src/StockMarket/ui/StockTickerHeaderText.tsx b/src/StockMarket/ui/StockTickerHeaderText.tsx index 3227f17aa..1c1725df7 100644 --- a/src/StockMarket/ui/StockTickerHeaderText.tsx +++ b/src/StockMarket/ui/StockTickerHeaderText.tsx @@ -27,7 +27,7 @@ export function StockTickerHeaderText(props: IProps): React.ReactElement { let plusOrMinus = stock.b; // True for "+", false for "-" if (stock.otlkMag < 0) { plusOrMinus = !plusOrMinus } hdrText += (plusOrMinus ? "+" : "-").repeat(Math.floor(Math.abs(stock.otlkMag) / 10) + 1); - hdrText += ` - ${stock.getAbsoluteForecast()} / ${stock.otlkMagForecast}`; + // hdrText += ` - ${stock.getAbsoluteForecast()} / ${stock.otlkMagForecast}`; } let styleMarkup = {