Attempt fix script
This commit is contained in:
@@ -71,7 +71,7 @@ async function disconnect() {
|
|||||||
let Playerposx = 500;
|
let Playerposx = 500;
|
||||||
let Playerposy = 300;
|
let Playerposy = 300;
|
||||||
|
|
||||||
if (booleanArray) {
|
|
||||||
if (booleanArray[1]) {
|
if (booleanArray[1]) {
|
||||||
Playerposx += 1;}
|
Playerposx += 1;}
|
||||||
if (booleanArray[3]) {
|
if (booleanArray[3]) {
|
||||||
@@ -81,7 +81,7 @@ if (booleanArray) {
|
|||||||
if (booleanArray[2]) {
|
if (booleanArray[2]) {
|
||||||
Playerposy -= 1;}
|
Playerposy -= 1;}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// the function setup() is called once when the page is loaded
|
// the function setup() is called once when the page is loaded
|
||||||
function setup(){
|
function setup(){
|
||||||
|
Reference in New Issue
Block a user