fix(Hooks): Type in player left hook

This commit is contained in:
Yimura 2022-01-26 22:41:16 +01:00
parent 296d147fa6
commit ccb045eb5a

View File

@ -4,7 +4,7 @@ namespace big
{
void hooks::player_leave(CNetworkObjectMgr* _this, CNetGamePlayer* net_player)
{
LOG(INFO) << "Player '" << net_player->get_name() << "' leaved freeing slot #" << (int)net_player->player_id;
LOG(INFO) << "Player '" << net_player->get_name() << "' left freeing slot #" << (int)net_player->player_id;
return g_hooking->m_player_has_left_hook.get_original<decltype(&hooks::player_leave)>()(_this, net_player);
}