I've noticed that on electric vehicles, from using from full charge all the way to completely empty, it never actually empties or runs out of battery, and gives the following error in the console. It looks like it would just need to make sure the number can't go negative, or goes to 0 when it gets low enough. Another side note is the charge of money can charge a decimal figure such as 50.45$ which can break some money systems and would just need a floor/ceil to solve this for the final figure charged to the user.
#Electric Vehicles having infinite battery when nearly fully depleted
9 messages · Page 1 of 1 (latest)
I’m going to investigate the issue related to the electric vehicles.
Hey @limber canopy
Can you give a try on this version to see if it solves?
So it seems to solve the error, and once the car is out of battery it will not allow the engine to be restarted - however it still seems to not cut out when it runs out of battery, just prevents the engine being restarted when dead.
But the car kept running when out of battery?
Car kept running, unless you got out and back in (causing the engine to turn off on getting out) and then it would not restart. But it did seem to continue running indefinitely until the engine was switched off.
Sorry for this, i've now fixed it in this version. Can you test it again please? @limber canopy