From 9d3e733e686c67de35c27afd2fd82a556bae38d8 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sun, 9 Jun 2024 17:56:06 +0200 Subject: fixed missing/renamed IPC events Too busy with the frontend, and forgor to change the main process IPC event listeners, whoopsie. --- src/modules/launch.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules') 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 -- cgit v1.2.3