nixpkgs/pkgs/by-name/ar/arma3-unix-launcher/disable_steam_integration.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
1.3 KiB
Diff
Raw Normal View History

2024-07-03 22:21:46 +00:00
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);