Removed the double GetKeyDown...

This commit is contained in:
KnucklesB
2024-06-11 20:40:28 -03:00
parent f598906ab5
commit bfba7267b8

View File

@@ -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;