mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 15:17:23 +08:00
fix(Player): SelectedPlayer struct was a copy and never updated causing the selected player to never update
This commit is contained in:
parent
74fdad96fe
commit
3d71ab1b77
@ -55,6 +55,9 @@ namespace big
|
|||||||
script::get_current()->yield();
|
script::get_current()->yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g.window.player) // update selected player only while the player menu is open
|
||||||
|
g.selected_player = g.players[g.selected_player.id];
|
||||||
|
|
||||||
busy = false;
|
busy = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user