adding case to hotkeys switch statement for "s" to switch between day and night mode

This commit is contained in:
Dave 2021-01-25 20:29:20 +00:00
parent 87c9735b4a
commit c573908a50
1 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,10 @@ export default {
this.$store.commit("toggleModal", "voteHistory"); this.$store.commit("toggleModal", "voteHistory");
} }
break; break;
case "s":
if (this.session.isSpectator) return;
this.$store.commit("toggleNight");
break;
case "escape": case "escape":
this.$store.commit("toggleModal"); this.$store.commit("toggleModal");
} }