refactor(wim ags player): clarify var
This commit is contained in:
parent
f47b5abc3f
commit
98d5ff9389
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ export default ({
|
||||||
connections: [
|
connections: [
|
||||||
...connections,
|
...connections,
|
||||||
|
|
||||||
[gesture, (overlay, x) => {
|
[gesture, (overlay, realGesture) => {
|
||||||
// Don't allow gesture when only one player
|
// Don't allow gesture when only one player
|
||||||
if (overlay.list().length <= 1) {
|
if (overlay.list().length <= 1) {
|
||||||
return;
|
return;
|
||||||
|
@ -56,7 +56,7 @@ export default ({
|
||||||
|
|
||||||
const playerBox = overlay.list().at(-1);
|
const playerBox = overlay.list().at(-1);
|
||||||
|
|
||||||
if (x) {
|
if (realGesture) {
|
||||||
overlay.list().forEach((over) => {
|
overlay.list().forEach((over) => {
|
||||||
over.visible = true;
|
over.visible = true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue