Skip to content

Commit

Permalink
feat: show offline in invite list
Browse files Browse the repository at this point in the history
next is adding a search bar lmao
  • Loading branch information
ThisAMJ committed Apr 13, 2024
1 parent ce1b9ca commit f261b00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Variable ui_loadingscreen_fadein_time;
Variable ui_loadingscreen_mintransition_time;
Variable ui_transition_effect;
Variable ui_transition_time;
Variable ui_pvplobby_show_offline;
Variable hide_gun_when_holding;
Variable cl_viewmodelfov;
Variable r_flashlightbrightness;
Expand Down Expand Up @@ -284,6 +285,7 @@ void Cheats::Init() {
ui_loadingscreen_mintransition_time = Variable("ui_loadingscreen_mintransition_time");
ui_transition_effect = Variable("ui_transition_effect");
ui_transition_time = Variable("ui_transition_time");
ui_pvplobby_show_offline = Variable("ui_pvplobby_show_offline");
hide_gun_when_holding = Variable("hide_gun_when_holding");
cl_viewmodelfov = Variable("cl_viewmodelfov");
r_flashlightbrightness = Variable("r_flashlightbrightness");
Expand Down
1 change: 1 addition & 0 deletions src/Cheats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ extern Variable ui_loadingscreen_fadein_time;
extern Variable ui_loadingscreen_mintransition_time;
extern Variable ui_transition_effect;
extern Variable ui_transition_time;
extern Variable ui_pvplobby_show_offline;
extern Variable hide_gun_when_holding;
extern Variable cl_viewmodelfov;
extern Variable r_flashlightbrightness;
Expand Down
3 changes: 3 additions & 0 deletions src/Features/Cvars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ void Cvars::Lock() {
ui_loadingscreen_mintransition_time.Lock();
ui_transition_effect.Lock();
ui_transition_time.Lock();
ui_pvplobby_show_offline.Lock();
hide_gun_when_holding.Lock();
cl_viewmodelfov.Lock();
r_flashlightbrightness.Lock();
Expand Down Expand Up @@ -262,6 +263,8 @@ void Cvars::Unlock() {
ui_loadingscreen_mintransition_time.Unlock(false);
ui_transition_effect.Unlock(false);
ui_transition_time.Unlock(false);
ui_pvplobby_show_offline.Unlock(false);
ui_pvplobby_show_offline.SetValue(1);
hide_gun_when_holding.Unlock(false);
cl_viewmodelfov.Unlock(false);
r_flashlightbrightness.Unlock(false);
Expand Down

0 comments on commit f261b00

Please sign in to comment.