diff --git a/README.md b/README.md index 235af02..1537d67 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ This module is part of my collection of modules. [LevelReward](https://github.com/tkn963/mod-levelreward) : Gives players a reward of gold when reaching specific levels. -[RecruitAFriend](https://github.com/tkn963/mod-recruitafriend) : Lets players activate recruit a friend with an in-game command. +[ReferAFriend](https://github.com/tkn963/mod-referafriend) : Lets players activate refer a friend with an in-game command. [SpawnPoints](https://github.com/tkn963/mod-spawnpoints) : Makes new characters spawn in specified locations when entering the world for the first time. diff --git a/conf/mod_weekendbonus.conf.dist b/conf/mod_weekendbonus.conf.dist index 5f94f3d..a024976 100644 --- a/conf/mod_weekendbonus.conf.dist +++ b/conf/mod_weekendbonus.conf.dist @@ -1,7 +1,7 @@ [worldserver] # Multiplier for experience gains on weekends -Multiplier.Experience = 2 +WeekendBonus.Multiplier.Experience = 2 # Multiplier for reputation gains on weekends -Multiplier.Reputation = 2 +WeekendBonus.Multiplier.Reputation = 2 diff --git a/src/WeekendBonus.cpp b/src/WeekendBonus.cpp index c5e5836..4dbdd14 100644 --- a/src/WeekendBonus.cpp +++ b/src/WeekendBonus.cpp @@ -69,8 +69,8 @@ class WeekendBonusConfig : WorldScript void OnAfterConfigLoad(bool /*reload*/) override { - multiplierExperience = sConfigMgr->GetOption("Multiplier.Experience", 1); - multiplierReputation = sConfigMgr->GetOption("Multiplier.Reputation", 1); + multiplierExperience = sConfigMgr->GetOption("WeekendBonus.Multiplier.Experience", 1); + multiplierReputation = sConfigMgr->GetOption("WeekendBonus.Multiplier.Reputation", 1); } };