Closed GreyVulpine closed 12 years ago
While in a recharger, a cyborg regenerates X amount of energy a tick. It is possible, with timing, to exit a recharger with more than the maximum charge on a cyborg. This needs to be fixed.
Fixed in the above commit, thanks to the magic of max().
While in a recharger, a cyborg regenerates X amount of energy a tick. It is possible, with timing, to exit a recharger with more than the maximum charge on a cyborg. This needs to be fixed.