mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
feat(PlayerWindow): Added check if net_player is nullptr
This commit is contained in:
parent
84f3ca4c94
commit
e9188bb522
@ -6,7 +6,12 @@ namespace big
|
||||
{
|
||||
void window::player()
|
||||
{
|
||||
if (!g.selected_player.is_online) return;
|
||||
if (!g.selected_player.is_online || g.selected_player.net_player == nullptr)
|
||||
{
|
||||
g.window.player = false;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
char title[64];
|
||||
strcpy(title, "Player Options: ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user