mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Always up contact no matter it was downed or not
This commit is contained in:
parent
c3a3f43b55
commit
71d63fe379
@ -101,9 +101,8 @@ class JoystickContact:
|
|||||||
|
|
||||||
def up(self):
|
def up(self):
|
||||||
builder = self.builder
|
builder = self.builder
|
||||||
if self.is_downed:
|
builder.up().commit()
|
||||||
builder.up().commit()
|
builder.send()
|
||||||
builder.send()
|
|
||||||
self.prev_point = None
|
self.prev_point = None
|
||||||
|
|
||||||
def set(self, direction, run=True):
|
def set(self, direction, run=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user