[NO GBP] Biogen power usage hotfix (#71443)

## About The Pull Request

Fixes the active power usage for biogenerator (300kw -> 3kw active
usage) because of wrong time conversion change in
https://github.com/tgstation/tgstation/pull/71175

There is also another bug with biogen, that looks like a regression of
some other PR as it wasn't there before the merge:
`build_path(drop_location(), amount)` ignores amount for non-stackable
items. Not sure why it got broken.

## Changelog
🆑
fix: biogenerator active power usage fix
/🆑
This commit is contained in:
Andrew
2022-11-22 22:13:52 +01:00
committed by GitHub
parent c9c4e92a08
commit 75377fbcd3
+1 -1
View File
@@ -206,7 +206,7 @@
qdel(object)
var/potential_biomass = max(1, nutriments) * productivity
while(processing && potential_biomass > 0)
use_power(active_power_usage * (1 SECONDS)) // Seconds needed here to convert time (in deciseconds) to seconds such that watts * seconds = joules
use_power(active_power_usage * (0.01 SECONDS)) // Seconds needed here to convert time (in deciseconds) to seconds such that watts * seconds = joules)
potential_biomass -= 1
biomass += 1
stoplag(2 / productivity)