Fixed gamedata file refcounting bug in the structs extension.

This commit is contained in:
David Anderson 2008-10-31 22:47:13 -07:00
parent e70fc299ac
commit 412ad74aad

View File

@ -88,7 +88,7 @@ void Structs::SDK_OnAllLoaded()
void Structs::SDK_OnUnload()
{
handlesys->RemoveType(g_StructHandle, myself->GetIdentity());
gameconfs->CloseGameConfigFile(conf);
gameconfs->RemoveUserConfigHook("Structs", this);
}