Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanPlayz100 committed Apr 28, 2024
1 parent d0f1352 commit 4da1a33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions code.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,11 @@ function loadSettings() {
divObjectiveText.textContent = modesText[gameSettings.gamemode];
}

function setGamemode(modeNum) {
gameSettings.gamemode = modeNum;
divObjectiveText.textContent = modesText[gameSettings.gamemode];
}

function downloadSettings() {
saveSettings();
let el = document.createElement('a');
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ button>img {
padding: 1vh;
bottom: 2%;
background-color: var(--invis);
border: 0.2vh solid var(--almost-invis);
border: 0.2vh solid var(--gray);
border-radius: 1vh;
font-size: 1.3em;
color: var(--cl-blue);
Expand Down

0 comments on commit 4da1a33

Please sign in to comment.