Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/windowing/StarItemSlotWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/windowing/StarItemSlotWidget.cpp b/source/windowing/StarItemSlotWidget.cpp
index 232f5e1..a54a83b 100644
--- a/source/windowing/StarItemSlotWidget.cpp
+++ b/source/windowing/StarItemSlotWidget.cpp
@@ -186,6 +186,7 @@ void ItemSlotWidget::renderImpl() {
}
if (m_item->count() > 1 && m_showCount) { // we don't need to tell people that there's only 1 of something
+ uint64_t count = m_item->count();
std::string formattedCount;
if (m_item->count() >= 1000000000000000000000) { // Sextillion (S)