diff --git a/Userland/Games/Pong/Game.h b/Userland/Games/Pong/Game.h index 92a8e7cc1c..8a464a1f1c 100644 --- a/Userland/Games/Pong/Game.h +++ b/Userland/Games/Pong/Game.h @@ -7,7 +7,6 @@ #pragma once #include -#include #include #include #include diff --git a/Userland/Games/Pong/main.cpp b/Userland/Games/Pong/main.cpp index 79bff5501b..48f835ddfc 100644 --- a/Userland/Games/Pong/main.cpp +++ b/Userland/Games/Pong/main.cpp @@ -1,11 +1,10 @@ /* - * Copyright (c) 2020, the SerenityOS developers. + * Copyright (c) 2020-2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include "Game.h" -#include #include #include #include @@ -28,18 +27,11 @@ int main(int argc, char** argv) return 1; } - auto config = Core::ConfigFile::open_for_app("Pong"); - if (unveil("/res", "r") < 0) { perror("unveil"); return 1; } - if (unveil(config->filename().characters(), "rwc") < 0) { - perror("unveil"); - return 1; - } - if (unveil(nullptr, nullptr) < 0) { perror("unveil"); return 1;