Skip to content

Commit

Permalink
Update player.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mngz47 authored Feb 19, 2024
1 parent b4d371c commit 13bfc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function findFlower(){
}else if((e('food').offsetTop-20)<e('head').offsetTop){
d = "b";
}
}else if(!((e('food').offsetLeft+20)>e('head').offsetLeft && (e('food').offsetLeft-20)<e('head').offsetLeft)){
}else{ //(!((e('food').offsetLeft+20)>e('head').offsetLeft && (e('food').offsetLeft-20)<e('head').offsetLeft)){
if((e('food').offsetLeft+20)>e('head').offsetLeft){
d = "r";
}else if((e('food').offsetLeft-20)<e('head').offsetLeft){
Expand Down

0 comments on commit 13bfc85

Please sign in to comment.