fix(Hooks): Type in player left hook

This commit is contained in:
Yimura 2022-01-26 22:41:16 +01:00
parent 7dad45476e
commit a86041112f
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

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);
}