mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
feat: debugging server does not require network permission now
This commit is contained in:
parent
4c7043d4c2
commit
6cdd6b833c
4 changed files with 14 additions and 4 deletions
|
|
@ -139,7 +139,8 @@ void Engine::initialize(CoreParameters coreParameters) {
|
|||
editor = std::make_unique<devtools::Editor>(*this);
|
||||
cmd = std::make_unique<cmd::CommandsInterpreter>();
|
||||
|
||||
if (project->permissions.has(Permissions::NETWORK)) {
|
||||
if (project->permissions.has(Permissions::NETWORK) ||
|
||||
!params.debugServerString.empty()) {
|
||||
network = network::Network::create(settings.network);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue