mirror of
https://github.com/csd4ni3l/loginween.git
synced 2026-01-01 12:33:49 +01:00
Fix music always playing, add more jumpscares and increase chance of jumpscares
This commit is contained in:
@@ -141,7 +141,7 @@ function start_game() {
|
||||
scene("main_menu", () => {
|
||||
create_label(WIDTH / 2 - 16 * GAME_TITLE.length, HEIGHT / 4, GAME_TITLE, 56);
|
||||
vertical_buttons(WIDTH / 4, HEIGHT / 2.25, [["Play", color(127, 127, 127), color(0, 0, 0, 0), scene_lambda("play")], ["Settings", color(127, 127, 127), color(0, 0, 0, 0), scene_lambda("settings")]], WIDTH / 2, HEIGHT / 8, HEIGHT / 50)
|
||||
if (!music_played) {
|
||||
if (!music_played && localStorage.getItem(`${GAME_TITLE} Music`) == 'true') {
|
||||
create_start_overlay(GAME_TITLE);
|
||||
music_played = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user