refactor(wim ags player): clarify var

This commit is contained in:
matt1432 2023-11-28 00:14:58 -05:00
parent f47b5abc3f
commit 98d5ff9389

View file

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