diff options
author | 0neGal <mail@0negal.com> | 2024-06-09 18:15:45 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-06-09 18:23:29 +0200 |
commit | 760031c079ce830755ba4fea029e149f4140e00b (patch) | |
tree | 8dbb9f8d5bb4e19cdaffb40e8a091b457a597769 /src/modules/launch.js | |
parent | 1c1e8fb730b9974cd9b8060499773b0f37ff28d2 (diff) | |
parent | 04b0e9fcea6c60257d7bc68994103eacb340a82b (diff) | |
download | Viper-760031c079ce830755ba4fea029e149f4140e00b.tar.gz Viper-760031c079ce830755ba4fea029e149f4140e00b.zip |
Merge branch 'main' into linux-launch-v2linux-launch-v2
Diffstat (limited to 'src/modules/launch.js')
-rw-r--r-- | src/modules/launch.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/launch.js b/src/modules/launch.js index 544e155..fab80c7 100644 --- a/src/modules/launch.js +++ b/src/modules/launch.js @@ -10,9 +10,8 @@ const settings = require("./settings"); console = require("./console"); -ipcMain.on("launch-ns", () => {launch()}); -ipcMain.on("launch-vanilla", () => { - launch("vanilla"); +ipcMain.on("launch", (_, game_version) => { + launch(game_version) }) // launches the game |