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();
}