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,
|
||||
|
||||
[gesture, (overlay, x) => {
|
||||
[gesture, (overlay, realGesture) => {
|
||||
// Don't allow gesture when only one player
|
||||
if (overlay.list().length <= 1) {
|
||||
return;
|
||||
|
@ -56,7 +56,7 @@ export default ({
|
|||
|
||||
const playerBox = overlay.list().at(-1);
|
||||
|
||||
if (x) {
|
||||
if (realGesture) {
|
||||
overlay.list().forEach((over) => {
|
||||
over.visible = true;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue