fix(ViewPlayer): Make "never wanted" feature independent for each player (#316)

Co-authored-by: Yimura <andreas.maerten@scarlet.be>
This commit is contained in:
mentolixite
2022-07-05 22:35:32 +02:00
committed by GitHub
parent 36e054b705
commit faee5efb6e
7 changed files with 19 additions and 7 deletions

View File

@ -41,7 +41,7 @@ namespace big
ImGui::SameLine();
ImGui::Checkbox("Never Wanted", &g->player.player_never_wanted);
ImGui::Checkbox("Never Wanted", &g_player_service->get_selected()->never_wanted);
components::button("Give Health", [] {
g_pickup_service->give_player_health(g_player_service->get_selected()->id());