Browse Source

Don't delete items during lag spike

pull/7728/head
staphen 1 year ago committed by Gleb Mazovetskiy
parent
commit
2f2de629a5
  1. 2
      Source/controls/plrctrls.cpp

2
Source/controls/plrctrls.cpp

@ -1897,6 +1897,8 @@ void PerformPrimaryAction()
{
if (invflag) { // inventory is open
if (pcurs > CURSOR_HAND && pcurs < CURSOR_FIRSTITEM) {
if (pcurs == CURSOR_HOURGLASS)
return;
TryIconCurs();
NewCursor(CURSOR_HAND);
} else if (GetRightPanel().contains(MousePosition) || GetMainPanel().contains(MousePosition)) {

Loading…
Cancel
Save