Skip to content

Conversation

@kjack9
Copy link

@kjack9 kjack9 commented May 12, 2023

Updates the OnBeforeConfigLoad function to reload settings from the configuration file on a .reload config command from the server.

Not sure why this was explicitly disabled, but I've seen no ill effects on my up-to-date Azerothcore server. Really facilitates testing without constant server restarts.

I did verify that even if you update the difficult value for an instance you're currently in, you still get the correct amount of buff reversed when you exit the instance (since its using the data in the DB to track what you were buffed with).

SetInitialWorldSettings();
}
// Squelch compile warning
(void) reload;
Copy link
Member

Choose a reason for hiding this comment

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

could you explain to me exactly what this line of code does?

Copy link
Member

Choose a reason for hiding this comment

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

ping @kjack9

@azerothcore azerothcore deleted a comment from pangolp Aug 3, 2023
@pangolp pangolp merged commit 84f2e1a into azerothcore:master Mar 15, 2024
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.

4 participants