depot/pkgs/by-name/ar/arma3-unix-launcher/disable_steam_integration.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
1.3 KiB
Diff

diff --git a/src/arma3-unix-launcher/mainwindow.cpp b/src/arma3-unix-launcher/mainwindow.cpp
index 66b73cc..f89f66b 100644
--- a/src/arma3-unix-launcher/mainwindow.cpp
+++ b/src/arma3-unix-launcher/mainwindow.cpp
@@ -56,6 +56,3 @@ MainWindow::MainWindow(std::unique_ptr<ARMA3::Client> arma3_client, std::filesys
{
- if (use_steam_integration)
- steam_integration = std::make_unique<Steam::SteamIntegration>(ARMA3::Definitions::app_id);
- else
- steam_integration = std::make_unique<Steam::IntegrationStub>(ARMA3::Definitions::app_id);
+ steam_integration = std::make_unique<Steam::IntegrationStub>(ARMA3::Definitions::app_id);
diff --git a/src/dayz-linux-launcher/mainwindow.cpp b/src/dayz-linux-launcher/mainwindow.cpp
index d9223db..5773593 100644
--- a/src/dayz-linux-launcher/mainwindow.cpp
+++ b/src/dayz-linux-launcher/mainwindow.cpp
@@ -56,6 +56,3 @@ MainWindow::MainWindow(std::unique_ptr<DayZ::Client> arma3_client, std::filesyst
{
- if (use_steam_integration)
- steam_integration = std::make_unique<Steam::SteamIntegration>(DayZ::Definitions::app_id);
- else
- steam_integration = std::make_unique<Steam::IntegrationStub>(DayZ::Definitions::app_id);
+ steam_integration = std::make_unique<Steam::IntegrationStub>(DayZ::Definitions::app_id);