From c869ad12bdae871e667e4b270cf2e88673b85f5f Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 30 Apr 2018 22:14:51 -0400 Subject: [PATCH] Merge pull request #37572 from deathride58/fixesdepression Fixes the intergalactic stock market crash by removing the speculation/performance modifier --- code/modules/stock_market/stocks.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/modules/stock_market/stocks.dm b/code/modules/stock_market/stocks.dm index 563e76c0a9..d5143ef460 100644 --- a/code/modules/stock_market/stocks.dm +++ b/code/modules/stock_market/stocks.dm @@ -139,11 +139,7 @@ speculation += rand(-400, 0) / 1000 * speculation if (prob(1) && prob(5)) // pop that bubble speculation += rand(-4000, 0) / 1000 * speculation - var/fucking_stock_spikes = current_value + 500 - var/piece_of_shit_fuck = current_value - 500 - var/i_hate_this_code = (speculation / rand(25000, 50000) + performance / rand(100, 800)) * current_value - if(i_hate_this_code < fucking_stock_spikes || i_hate_this_code > piece_of_shit_fuck) - current_value = i_hate_this_code + if (current_value < 5) current_value = 5