mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44:20 +01:00
Precaution against rapid NullReferenceException throws in Special Actions
This commit is contained in:
parent
8f805a819e
commit
9e557daefd
@ -1940,6 +1940,11 @@ namespace DS4Windows
|
|||||||
actionDoneCount--;
|
actionDoneCount--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (action == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
double time = 0.0;
|
double time = 0.0;
|
||||||
//If a key or button is assigned to the trigger, a key special action is used like
|
//If a key or button is assigned to the trigger, a key special action is used like
|
||||||
//a quick tap to use and hold to use the regular custom button/key
|
//a quick tap to use and hold to use the regular custom button/key
|
||||||
|
Loading…
Reference in New Issue
Block a user