renewCreep can't top up a creep's life


  • Culture

    Instead of scaling the energy used to the amount of life that would be added back, the renewCreep function just returns -8. This is very noticeable on small creeps because they have to wait for dozens of ticks before they can be renewed. This is bad when every tick matters.

     

    This function should just scale the energy used to the amount of life renewed, not fail to fire entirely.