forked from antonshusharin/DevTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiff_pack_quick_open.patch
More file actions
24 lines (23 loc) · 860 Bytes
/
diff_pack_quick_open.patch
File metadata and controls
24 lines (23 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/Assembly-CSharp/PackOpeningDirector.cs b/Assembly-CSharp/PackOpeningDirector.cs
index 6fa7e55..b169008 100644
--- a/Assembly-CSharp/PackOpeningDirector.cs
+++ b/Assembly-CSharp/PackOpeningDirector.cs
@@ -461,7 +461,7 @@ public class PackOpeningDirector : MonoBehaviour, AccessibleUI
public void HandleAccessibleInput()
{
- if (AccessibleKey.CONFIRM.IsPressed() || AccessibleKey.SPACE.IsPressed())
+ if (AccessibleKey.CONFIRM.IsPressed())
{
if (m_doneButtonShown)
{
@@ -472,6 +472,10 @@ public class PackOpeningDirector : MonoBehaviour, AccessibleUI
TryRevealCard();
}
}
+ else if (AccessibleKey.SPACE.IsPressed())
+ {
+ ForceRevealRandomCard();
+ }
else if (AccessibleKey.READ_TOOLTIP.IsPressed())
{
AccessibilityUtils.ReadTooltip(this);