fix controller double open

pull/47/head
cosmonaut 2023-02-23 16:59:19 -08:00
parent 86322e9373
commit 515c2ebbca
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ namespace MoonWorks.Input
} }
else else
{ {
gamepads[slot].Handle = SDL.SDL_GameControllerOpen(index); gamepads[slot].Handle = openResult;
System.Console.WriteLine($"Gamepad added to slot {slot}!"); System.Console.WriteLine($"Gamepad added to slot {slot}!");
} }
return; return;