mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-15 18:40:54 +03:00
feat(console): toggle console access based on -console flag
This commit is contained in:
1 parent
04e625f6a7
commit
37460378a8
2 files changed
+2
-43
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include "console/Device.hpp"
|
||||
#include "client/CmdLine.hpp"
|
||||
#include "client/Gui.hpp"
|
||||
#include "console/Console.hpp"
|
||||
#include "console/CVar.hpp"
|
||||
@@ -148,8 +149,7 @@ void ConsoleDeviceInitialize(const char* title) {
|
||||
// TODO proper logic
|
||||
s_hwDetect = true;
|
||||
|
||||
// TODO ConsoleAccessSetEnabled(CmdLineGetBool(35));
|
||||
ConsoleAccessSetEnabled(1);
|
||||
ConsoleAccessSetEnabled(CmdLineGetBool(WOWCMD_CONSOLE));
|
||||
|
||||
// TODO
|
||||
|
||||
|
||||
Reference in new issue
Block a user