Fixed Nano Style Issues

This commit is contained in:
Jade 2020-12-18 20:04:37 +00:00 committed by Gent S
parent 34dbb59fb1
commit 50b2bdcb16

View File

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