Renaming restorePlayerControls/disablePlayerControls

Putting "controls" in the plural form:

- restorePlayerControl => restorePlayerControls
- disablePlayerControl => disablePlayerControls
This commit is contained in:
David Négrier 2021-05-10 12:14:31 +02:00
parent 3a82481d70
commit c025d1798b
5 changed files with 15 additions and 15 deletions

View file

@ -25,7 +25,7 @@ function launchTuto (){
label: "Got it!",
className : "success",callback:(popup2 => {
popup2.close();
WA.restorePlayerControl();
WA.restorePlayerControls();
})
}
])
@ -36,7 +36,7 @@ function launchTuto (){
}
}
]);
WA.disablePlayerControl();
WA.disablePlayerControls();
}

View file

@ -21,7 +21,7 @@ function launchTuto (){
callback: (popup1) => {
WA.sendChatMessage("Hey you can talk here too ! ", 'WA Guide');
popup1.close();
WA.restorePlayerControl();
WA.restorePlayerControls();
}
}
@ -29,7 +29,7 @@ function launchTuto (){
}
}
]);
WA.disablePlayerControl();
WA.disablePlayerControls();
}
WA.onChatMessage((message => {