diff options
author | 0neGal <mail@0negal.com> | 2024-06-09 17:56:06 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-06-09 17:56:30 +0200 |
commit | 9d3e733e686c67de35c27afd2fd82a556bae38d8 (patch) | |
tree | 4633da21e9e8b22d7c303d902afa1eca56f5d0fa | |
parent | 95bfbd4f2f822d85429b31f9d0e575c1980eab9d (diff) | |
download | Viper-9d3e733e686c67de35c27afd2fd82a556bae38d8.tar.gz Viper-9d3e733e686c67de35c27afd2fd82a556bae38d8.zip |
fixed missing/renamed IPC events
Too busy with the frontend, and forgor to change the main process IPC
event listeners, whoopsie.
-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 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 |