diff options
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 |