From 50b2bdcb164b83e30175a74085e6b5ca474aa834 Mon Sep 17 00:00:00 2001 From: Jade Date: Fri, 18 Dec 2020 20:04:37 +0000 Subject: [PATCH] Fixed Nano Style Issues --- src/TableData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TableData.cpp b/src/TableData.cpp index e227bbc..88c3751 100644 --- a/src/TableData.cpp +++ b/src/TableData.cpp @@ -197,7 +197,7 @@ void TableData::init() { auto nano = _nano.value(); NanoData nanoData; nanoData.style = nano["m_iStyle"]; - NanoManager::NanoTable[nano["m_iNanoNumber"]] = nanoData; + NanoManager::NanoTable[NanoManager::NanoTable.size()] = nanoData; } std::cout << "[INFO] Loaded " << NanoManager::NanoTable.size() << " nanos" << std::endl;