Confirm dialogs with space

This commit is contained in:
Tyfon
2024-05-15 02:26:40 -07:00
parent a93fcd0e6b
commit a255209fe1

View File

@@ -39,7 +39,7 @@ namespace UIFixes
return;
}
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter))
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter) || Input.GetKeyDown(KeyCode.Space))
{
AcceptMethod.Invoke(__instance, []);
return;