From d9a60fc3ce7f34725b2d3467ce7d1405f72cbde8 Mon Sep 17 00:00:00 2001 From: duncathan Date: Wed, 26 Feb 2020 01:52:08 -0600 Subject: [PATCH] disable bad ending for now --- src/ui/draw.lua | 8 ++++---- src/ui/settings.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ui/draw.lua b/src/ui/draw.lua index f847ce5..bc03ba0 100644 --- a/src/ui/draw.lua +++ b/src/ui/draw.lua @@ -29,14 +29,14 @@ layout.go:onPress(function() Randomizer.customseed = settings.customseed.value end - if settings.bad.value then - Randomizer.game = "gameBadEnd" - elseif settings.norm.value then + --if settings.bad.value then + -- Randomizer.game = "gameBadEnd" + if settings.norm.value then Randomizer.game = "gameNormalEnd" elseif settings.boss.value then Randomizer.game = "gameAllBosses" else - Randomizer.game = "game" + Randomizer.game = "gameBestEnd" end Randomizer.puppy = settings.puppy.value diff --git a/src/ui/settings.lua b/src/ui/settings.lua index 5c4409b..8baf878 100644 --- a/src/ui/settings.lua +++ b/src/ui/settings.lua @@ -13,7 +13,7 @@ return { style = 'dialog', }, { { type = 'label', text = 'Objective' }, - { type = 'radio', group = 'objective', text = 'Bad ending', id = 'bad' }, + -- { type = 'radio', group = 'objective', text = 'Bad ending', id = 'bad' }, { type = 'radio', group = 'objective', text = 'Normal ending', id = 'norm'}, { type = 'radio', group = 'objective', text = 'Best ending', id = 'best', value = true }, { type = 'radio', group = 'objective', text = 'All bosses', id = 'boss' },