mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
Restructure protobufs and use them everywhere
This commit is contained in:
@@ -106,7 +106,7 @@ if (envs_map.size > 0) {
|
||||
if (e.gamepad.id.toLowerCase().includes("nestri"))
|
||||
return;
|
||||
|
||||
let disconnected = nestriControllers.find((c) => c.getSlot() === e.gamepad.index);
|
||||
let disconnected = nestriControllers.find((c) => c.getLocalSlot() === e.gamepad.index);
|
||||
if (disconnected) {
|
||||
disconnected.dispose();
|
||||
nestriControllers = nestriControllers.filter((c) => c !== disconnected);
|
||||
|
||||
Reference in New Issue
Block a user