This commit is contained in:
DeltaFire
2020-11-18 22:51:54 +01:00
parent e24b26c7e6
commit adc2af2dde
+1 -1
View File
@@ -1375,7 +1375,7 @@
if(cur_excess > 0)
var/charging_cell = min(cur_excess*GLOB.CELLRATE, cell.maxcharge * GLOB.CHARGELEVEL)
cell.give(charging_cell)
add_load(charging_cell/GLOB.cellrate)
add_load(charging_cell/GLOB.CELLRATE)
lastused_total += charging_cell
longtermpower = min(10,longtermpower + 1)
if(chargemode && !charging)