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

Available buildpoints do not change with cvar change #1124

Closed
Gireen opened this issue Nov 2, 2019 · 4 comments · Fixed by #1125

Comments

@Gireen
Copy link
Member

@Gireen Gireen commented Nov 2, 2019

Changing g_BPBudgetPerMiner or g_BPInitialBudget only take effect after a leech/drill is build.

@slipher

This comment has been minimized.

Copy link
Contributor

@slipher slipher commented Nov 2, 2019

I wouldn't really expect it to work to change these in the middle of a game.

@Viech

This comment has been minimized.

Copy link
Member

@Viech Viech commented Nov 4, 2019

That's semi-intentional, some of the mining related calculations are expensive, so for simplicity all of them are only performed when the miner landscape changes.

It could be that give bp still works, at least until you build a miner. 😉

@Gireen

This comment has been minimized.

Copy link
Member Author

@Gireen Gireen commented Nov 4, 2019

Is it ok to add a command to trigger the calculation manually?

@Viech

This comment has been minimized.

Copy link
Member

@Viech Viech commented Nov 6, 2019

@Gireen sure! Though maybe it's better to hook the relevant commands and make them perform the update?

@Gireen Gireen closed this in #1125 Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.