refactor(Spoof Rank): Moved script_global to function

This commit is contained in:
Yimura 2020-12-29 23:27:54 +01:00
parent 32cfba68c6
commit df107a18c6
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78

View File

@ -11,7 +11,7 @@ namespace big
{
QUEUE_JOB_BEGIN_CLAUSE()
{
*script_global(1590682).at(PLAYER::PLAYER_ID(), 883).at(211).at(6).as<int*>() = g_settings.options["rank"].get<int>();
features::functions::spoof_rank(g_settings.options["rank"].get<int>());
}QUEUE_JOB_END_CLAUSE
}
}