fix(SpoofRank): Still using old settings file and causing crashes
This commit is contained in:
parent
5f22dfd304
commit
b74e1329fe
@ -6,9 +6,11 @@ namespace big
|
|||||||
{
|
{
|
||||||
void self::spoof_rank()
|
void self::spoof_rank()
|
||||||
{
|
{
|
||||||
bool bSpoofRank = g_settings.options["spoof_rank"].get<bool>();
|
auto& spoofing = g_settings.options["spoofing"]["rank"];
|
||||||
|
|
||||||
|
bool bSpoofRank = spoofing["enabled"].get<bool>();
|
||||||
|
|
||||||
if (bSpoofRank)
|
if (bSpoofRank)
|
||||||
func::spoof_rank(g_settings.options["rank"].get<int>());
|
func::spoof_rank(spoofing["value"].get<int>());
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user