mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
26 lines
1.3 KiB
Diff
26 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);
|
||
|
|
||
|
|