fix(PlayerService): return nullptr instead of false

This commit is contained in:
Yimura 2022-02-18 16:28:31 +01:00
parent 761478b755
commit 0898dbe2ff

View File

@ -25,7 +25,7 @@ namespace big
rage::netPlayerData* player::get_net_data()
{
return m_net_game_player == nullptr ? false : m_net_game_player->get_net_data();
return m_net_game_player == nullptr ? nullptr : m_net_game_player->get_net_data();
}
CNetGamePlayer* player::get_net_game_player()