aboutsummaryrefslogtreecommitdiff
path: root/src/modules/launch.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/launch.js')
-rw-r--r--src/modules/launch.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/launch.js b/src/modules/launch.js
index 73ce408..7faf372 100644
--- a/src/modules/launch.js
+++ b/src/modules/launch.js
@@ -9,9 +9,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