fixed bug where modules were queried / attached more times

This commit is contained in:
Pavol Marko 2004-07-03 13:48:53 +00:00
parent dc971460ff
commit ab6909a60c

View File

@ -514,11 +514,11 @@ void attachMetaModModules(PLUG_LOADTIME now, const char* filename)
if ( a )
{
g_FakeMeta.AddPlugin(mmpathname);
g_FakeMeta.Meta_Query(gpMetaUtilFuncs);
g_FakeMeta.Meta_Attach(now, gpMetaGlobals, gpGamedllFuncs);
}
}
}
g_FakeMeta.Meta_Query(gpMetaUtilFuncs);
g_FakeMeta.Meta_Attach(now, gpMetaGlobals, gpGamedllFuncs);
}