diff --git a/Userland/Games/FlappyBug/main.cpp b/Userland/Games/FlappyBug/main.cpp index 13d8b7660af..b32bdb0de44 100644 --- a/Userland/Games/FlappyBug/main.cpp +++ b/Userland/Games/FlappyBug/main.cpp @@ -19,7 +19,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio rpath recvfd sendfd unix", nullptr)); - auto app = GUI::Application::construct(arguments.argc, arguments.argv); + auto app = GUI::Application::construct(arguments); Config::pledge_domains("FlappyBug"); diff --git a/Userland/Games/Spider/main.cpp b/Userland/Games/Spider/main.cpp index 7a30dd6e92c..6c25711de04 100644 --- a/Userland/Games/Spider/main.cpp +++ b/Userland/Games/Spider/main.cpp @@ -41,7 +41,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio recvfd sendfd rpath unix", nullptr)); - auto app = GUI::Application::construct(arguments.argc, arguments.argv); + auto app = GUI::Application::construct(arguments); auto app_icon = GUI::Icon::default_icon("app-spider"); Config::pledge_domains("Spider");