Skip to content

Commit

Permalink
BugNotes
Browse files Browse the repository at this point in the history
2 Bugs with newest code:
1) Buying turkey when oven open prevents taking oven out or closing oven
2) Can Click on turkey to end game during any oven open state.
  • Loading branch information
Zott820 committed Aug 28, 2022
1 parent 5109bf8 commit 605e103
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ function OvenUI( stage, gameState ){
"burnt": "The turkey looks burnt"
};


// Look for a drag event
function handlePress(event) {
if( event.stageY > 300 && that.ovenDoor != OVEN_OPEN){
Expand Down Expand Up @@ -542,7 +541,6 @@ function OvenUI( stage, gameState ){
doorPeekLightOff.alpha = 0;
doorOpen.alpha = 0;
handleBar.y = 0;
handleBar.alpha = 0.01;
}

function ovenOpen() {
Expand Down

0 comments on commit 605e103

Please sign in to comment.