Merge pull request #12810 from ItsSelis/circuit-update

Circuitry Update
This commit is contained in:
Casey
2022-04-26 17:12:22 -04:00
committed by CHOMPStation2
parent 96ccd4af68
commit a2f6f33a64
10 changed files with 262 additions and 5 deletions

View File

@@ -215,7 +215,7 @@
assembly.give_power(amount)
else
var/amount = assembly.draw_power(throughput)
IO.add_avail(amount)
IO.add_avail(amount / CELLRATE)
set_pin_data(IC_OUTPUT, 1, IO.avail())
set_pin_data(IC_OUTPUT, 2, IO.surplus())