-
Notifications
You must be signed in to change notification settings - Fork 5
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
Planet available points initialization #10
Comments
I tried your fix. Removed planets and execute populate world. Now we have
|
Hi, I've found the problem: I thought global variable $MAX_POINTS was visible in the whole create_world function instead only if USER_START_BOOST has scope on it, I'll change the if/else. |
Declaration of global variable $MAX_POINTS was missing in else statement.
Should be finally ok now. Let me know if we can close this. |
I am on work now. I try it at home. Feedback follow... |
You are great. now it works fine. |
Are you two having fun? ^_^ 2014-11-24 16:23 GMT+01:00 Caberhagen notifications@github.com:
|
Well yeah, we've found and fixed a couple of bugs! :) Any news from you? |
There's a bug in create_planet() function when constant USER_START_BOOST is set to 0. The normal planet being created does not get planet_available_points field initialized correctly so it remain to its default value that it's zero. With this value set, no buildings can be build.
The text was updated successfully, but these errors were encountered: