Power Output Fix

This commit is contained in:
ItsSelis
2022-04-24 20:50:25 +02:00
parent f3af1a6c41
commit ef78ad3606

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())