aboutsummaryrefslogtreecommitdiff
path: root/aoapplication.cpp
diff options
context:
space:
mode:
authorgameboyprinter <gameboyprinter@users.noreply.github.com>2018-07-05 12:21:32 -0500
committergameboyprinter <gameboyprinter@users.noreply.github.com>2018-07-05 12:21:32 -0500
commitbed0b55e70f13adf772584fc0d31ebfe59597115 (patch)
tree013243728cf4fd21cfb49fea671b9894d19b87f1 /aoapplication.cpp
parente761805cd188337a5d5997dcf3389be9ee4316bd (diff)
Make discord toggleable, OOC name option, default bg fix
Diffstat (limited to 'aoapplication.cpp')
-rw-r--r--aoapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/aoapplication.cpp b/aoapplication.cpp
index 12e540cd..54ec1805 100644
--- a/aoapplication.cpp
+++ b/aoapplication.cpp
@@ -40,7 +40,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();
}