Merge pull request #35792 from DaedalusGame/bitconnect

Fixes multiserver mining formula
This commit is contained in:
Jordan Brown
2018-02-19 12:19:38 -05:00
committed by CitadelStationBot
parent fef23bd7cc
commit c36f144d9e
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
/obj/machinery/rnd/server/proc/mine()
. = base_mining_income
var/penalty = max((get_env_temp() - temp_tolerance_low), 0) / temp_penalty_coefficient
var/penalty = max((get_env_temp() - temp_tolerance_high), 0) * temp_penalty_coefficient
. = max(. - penalty, 0)
/obj/machinery/rnd/server/proc/get_env_temp()