Bug fixes

This commit is contained in:
Markolie
2014-12-10 04:47:24 +01:00
parent 6af11b55c3
commit 7359061678
24 changed files with 215 additions and 413 deletions
-1
View File
@@ -1098,7 +1098,6 @@
if( (cell_charge/CELLRATE+perapc) >= lastused_total) // can we draw enough from cell+grid to cover last usage?
cell_charge = min(cell_maxcharge, cell_charge + CELLRATE * perapc) //recharge with what we can
cell.charge = cell_charge
add_load(perapc) // so draw what we can from the grid
charging = 0