We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@LucasKovacs Except for the issue that @FGServers stated. There is only 1 unit of difference in the Energy balance part.
#374 (comment)
Originally posted by @BeReal86 in #374 (comment)
The text was updated successfully, but these errors were encountered:
XG-Proyect-v3.x.x/src/upload/app/controllers/game/infos.php
Lines 538 to 542 in f26dc48
Having $energy_prod as a float, here it does floor to upper values, which causes the issue. Check Metal mine values before processing as an example:
$energy_prod
floor
float(-4037.878210982) float(-4600.2969617973) float(-5234.8206806659) float(-5950.2461736903) float(-6756.4085585128) float(-7664.300958563) float(-8686.2077530381) float(-9835.8528968225) float(-11128.564991833) float(-12581.460976878) float(-14213.650509014) float(-16046.463337808) float(-18103.70222727) float(-20411.924261247) float(-23000.753679747)
Sorry, something went wrong.
Update energy function to match original
4884c34
Fixes XGProyect#405
[#405] fix by @duhow
2e7267b
LucasKovacs
BeReal86
No branches or pull requests
@LucasKovacs
Except for the issue that @FGServers stated. There is only 1 unit of difference in the Energy balance part.
#374 (comment)
Originally posted by @BeReal86 in #374 (comment)
The text was updated successfully, but these errors were encountered: