diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-07-05 21:33:27 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2018-07-05 21:33:27 -0500 |
| commit | 064cde6759aa1264cbd00d7c052aaf1a223af7a9 (patch) | |
| tree | 9dcad680bed3ab139dfa334276198cad0e45ce0d /aoapplication.cpp | |
| parent | 17601c3723a181e348e37eddcc04bf506165cb72 (diff) | |
| parent | 42e26d67756afc2cb8cdeb97ed654507c7cf4f3e (diff) | |
Merge branch 'discord-toggle'
Diffstat (limited to 'aoapplication.cpp')
| -rw-r--r-- | aoapplication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aoapplication.cpp b/aoapplication.cpp index 73a72cc1..62a4a39c 100644 --- a/aoapplication.cpp +++ b/aoapplication.cpp @@ -36,7 +36,8 @@ void AOApplication::construct_lobby() int y = (screenGeometry.height()-w_lobby->height()) / 2; w_lobby->move(x, y); - discord->state_lobby(); + if(is_discord_enabled()) + discord->state_lobby(); w_lobby->show(); } |
