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

Update OilSource.scala #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update OilSource.scala #155

wants to merge 1 commit into from

Conversation

daprof1
Copy link
Contributor

@daprof1 daprof1 commented Mar 25, 2019

So found this bug on my retro server. It only shows up when the actual cycle sim time is less than the scheduled time. Main sim runs the cycle then increments the week. This causes the current oil prices (for contracts, etc) not be able to load (and then defaults to 70) as it's requesting "NEXT WEEK" if you check prices during the time the simulator has finished with the last week but hasn't started the next week.

Of course you could just change the order of the main sim actor so it increments first then triggers start cycle, but due to consistency concerns I did it this way.

So found this bug on my retro server. It only shows up when the actual cycle sim time is less than the scheduled time. Main sim runs the cycle then increments the week. This causes the current oil prices (for contracts, etc) not be able to load (and then defaults to 70) as it's requesting "NEXT WEEK" if you check prices during the time the simulator has finished with the last week but hasn't started the next week.

Of course you could just change the order of the main sim actor so it increments first then triggers start cycle, but due to consistency concerns I did it this way.
@patsonluk
Copy link
Owner

@daprof1 Just want to see where Dairy is 🥛

The game has been getting a lot of updates and a Christmas event!

Going to work on V2 soon too!

Where's the UI update!!??

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

Successfully merging this pull request may close these issues.

2 participants