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

Fix bug that disabled game-based minetest.conf default setting #2482

Closed
wants to merge 2 commits into from

Conversation

est31
Copy link
Contributor

@est31 est31 commented Mar 13, 2015

commit f6e4c5d caused this.

@ShadowNinja
Copy link
Member

This code also has to run when initializeWorld is called by the main menu so that mapgen parameter defaults are initialized.

Settings game_defaults;
getGameMinetestConfig(gamespec.path, game_defaults);
override_default_settings(g_settings, &game_defaults);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stay where it was below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its not part of the world initialisation.

@est31 est31 force-pushed the fixgameconf branch 2 times, most recently from 46138e8 to 5071ce5 Compare March 13, 2015 05:20
This is neccessary as executing different games after each other, in the same instance, cluttered up the settings space.
@ShadowNinja
Copy link
Member

538036d

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