Removed the double GetKeyDown...
This commit is contained in:
@@ -717,10 +717,6 @@ HRESULT __stdcall hookD3D11Present(IDXGISwapChain* pSwapChain, UINT SyncInterval
|
|||||||
pressed = true;
|
pressed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GetKeyDown(KeyCode::Insert)) {
|
|
||||||
pressed = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
else if (!GetKeyDown(KeyCode::Insert) && pressed) {
|
else if (!GetKeyDown(KeyCode::Insert) && pressed) {
|
||||||
open_menu = !open_menu;
|
open_menu = !open_menu;
|
||||||
|
|||||||
Reference in New Issue
Block a user