fix clear wanted level (#1101)

This commit is contained in:
TheGreenBandit 2023-03-16 06:51:41 -04:00 committed by GitHub
parent c71c5c6a39
commit 0a35d129d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ namespace big
{
if(g_local_player && g_local_player !=nullptr && !g.self.force_wanted_level)
{
g_local_player->m_player_info->m_wanted_level = 0;
g.self.wanted_level = 0;
g_local_player->m_player_info->m_is_wanted = false;
}