fix(Player): SelectedPlayer struct was a copy and never updated causing the selected player to never update
This commit is contained in:
parent
9c4058e9cd
commit
bac623ed8b
@ -55,6 +55,9 @@ namespace big
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user