summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index cf57312dd..b927273ef 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -1026,8 +1026,8 @@ bool ShopWindow::checkFloodCounter(int &counterTime)
counterTime = cur_time;
else if (counterTime + 10 > cur_time)
return false;
-
- counterTime = cur_time;
+ else
+ counterTime = cur_time;
return true;
}