Many quick bug fixes.
- Fixed bug when having "Sudden Death" and Easy "mods" enabled at the same time. Additional "lives" are no longer granted. - Fixed bug where GameMod active states weren't being reset upon restart. - Fixed bug where GameMods were drawn as if inactive when viewing scores. Alpha levels are now only set when drawing the button (i.e. calling GameMod.draw()). - Moved large grade scaling into GameImage, and slightly padded the right side when drawing. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -484,7 +484,7 @@ public class Game extends BasicGameState {
|
||||
data.changeHealth(delta * -1 * GameData.HP_DRAIN_MULTIPLIER);
|
||||
if (!data.isAlive()) {
|
||||
// "Easy" mod
|
||||
if (GameMod.EASY.isActive()) {
|
||||
if (GameMod.EASY.isActive() && !GameMod.SUDDEN_DEATH.isActive()) {
|
||||
deaths++;
|
||||
if (deaths < 3) {
|
||||
deathTime = trackPosition;
|
||||
|
||||
Reference in New Issue
Block a user