acidjazz / drmon

Draconic Reactor computercraft monitoring and failsafe interface
61 stars 85 forks source link

Fixed fuel percentage. #4

Closed piepie62 closed 7 years ago

piepie62 commented 7 years ago

Before it did percents of percents.

I noticed that the fuel percentage was wrong because you had the percentage calculated on line 241 with the Math.ceil() function was being converted into a percentage and then back to a decimal. I fixed it.

piepie62 commented 7 years ago

I just changed the PR to follow the format for all the others and have two trailing digits.

acidjazz commented 7 years ago

@piepie62 looks good, much appreciated