MEGA FAIL!
This really disables stringtables.
This commit is contained in:
parent
4ee5e97224
commit
685aeaba12
@ -67,6 +67,9 @@ namespace Components
|
|||||||
|
|
||||||
StringTable::StringTable()
|
StringTable::StringTable()
|
||||||
{
|
{
|
||||||
|
// Disable StringTable loading until our StructuredData handler is finished!
|
||||||
|
return;
|
||||||
|
|
||||||
AssetHandler::OnFind(Game::XAssetType::ASSET_TYPE_STRINGTABLE, [] (Game::XAssetType, const char* filename)
|
AssetHandler::OnFind(Game::XAssetType::ASSET_TYPE_STRINGTABLE, [] (Game::XAssetType, const char* filename)
|
||||||
{
|
{
|
||||||
Game::XAssetHeader header = { 0 };
|
Game::XAssetHeader header = { 0 };
|
||||||
@ -86,9 +89,6 @@ namespace Components
|
|||||||
|
|
||||||
StringTable::~StringTable()
|
StringTable::~StringTable()
|
||||||
{
|
{
|
||||||
// Disable StringTable loading until our StructuredData handler is finished!
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (auto i = StringTable::StringTableMap.begin(); i != StringTable::StringTableMap.end(); i++)
|
for (auto i = StringTable::StringTableMap.begin(); i != StringTable::StringTableMap.end(); i++)
|
||||||
{
|
{
|
||||||
Game::StringTable* table = i->second;
|
Game::StringTable* table = i->second;
|
||||||
|
Loading…
Reference in New Issue
Block a user