From c573908a5021c9bb36d5df37a3a76cfb7606ca2f Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 25 Jan 2021 20:29:20 +0000 Subject: [PATCH] adding case to hotkeys switch statement for "s" to switch between day and night mode --- src/App.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.vue b/src/App.vue index 63c5772..4c8a836 100644 --- a/src/App.vue +++ b/src/App.vue @@ -107,6 +107,10 @@ export default { this.$store.commit("toggleModal", "voteHistory"); } break; + case "s": + if (this.session.isSpectator) return; + this.$store.commit("toggleNight"); + break; case "escape": this.$store.commit("toggleModal"); }