diff --git a/assets/electron/controllerActions.yaml b/assets/electron/controllerActions.yaml index 21bf88e0..26e9ccaf 100644 --- a/assets/electron/controllerActions.yaml +++ b/assets/electron/controllerActions.yaml @@ -143,8 +143,14 @@ Binding4: Binding5: displayName: Binding5 composable: true -Reload: - displayName: Reload +ServerReconnect: + displayName: ServerReconnect + composable: true +ReloadSeed: + displayName: ReloadSeed + composable: true +ShowFlags: + displayName: ShowFlags composable: true ShowLastPickup: displayName: ShowLastPickup diff --git a/assets/electron/keyboardActions.yaml b/assets/electron/keyboardActions.yaml index 007906e9..4520ea7e 100644 --- a/assets/electron/keyboardActions.yaml +++ b/assets/electron/keyboardActions.yaml @@ -16,8 +16,14 @@ Binding4: Binding5: displayName: Binding5 composable: true -Reload: - displayName: Reload +ServerReconnect: + displayName: ServerReconnect + composable: true +ReloadSeed: + displayName: ReloadSeed + composable: true +ShowFlags: + displayName: ShowFlags composable: true ShowLastPickup: displayName: ShowLastPickup diff --git a/electron/src/lib/LauncherService.js b/electron/src/lib/LauncherService.js index df7673de..4ce3d621 100644 --- a/electron/src/lib/LauncherService.js +++ b/electron/src/lib/LauncherService.js @@ -117,7 +117,7 @@ export class LauncherService { if (await this.isRandomizerRunning()) { try { - await RandoIPCService.emit('reload') + await RandoIPCService.emit('reread_seed_source') await focusGameWindow() } catch (e) { console.error(e) @@ -166,7 +166,7 @@ export class LauncherService { if (await this.isRandomizerRunning()) { try { - await RandoIPCService.emit('reload') + await RandoIPCService.emit('reread_seed_source') } catch (e) { console.error(e) throw new Error('Could not load the seed in running game.\nPlease wait a few seconds if you closed the game just now.')