Skip to content
New issue

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

Missing loan interest on restart? #547

Open
patsonluk opened this issue Dec 27, 2022 · 2 comments
Open

Missing loan interest on restart? #547

patsonluk opened this issue Dec 27, 2022 · 2 comments

Comments

@patsonluk
Copy link
Owner

every time the game is restarted...there r no loan interests & repayments to be paid

@patsonluk
Copy link
Owner Author

@patsonluk
Copy link
Owner Author

Probably due to this. https://github.com/patsonluk/airline/blob/master/airline-data/src/main/scala/com/patson/AirlineSimulation.scala#L535

If shutdown occurs after this but before cycle ticks, next sim will likely catch up again but we dun want to re-deduct the money. hmm it's more of a problem of handling of shutdown during sim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant