Fixed gamedata file refcounting bug in the structs extension.
This commit is contained in:
parent
e70fc299ac
commit
412ad74aad
@ -88,7 +88,7 @@ void Structs::SDK_OnAllLoaded()
|
|||||||
void Structs::SDK_OnUnload()
|
void Structs::SDK_OnUnload()
|
||||||
{
|
{
|
||||||
handlesys->RemoveType(g_StructHandle, myself->GetIdentity());
|
handlesys->RemoveType(g_StructHandle, myself->GetIdentity());
|
||||||
|
gameconfs->CloseGameConfigFile(conf);
|
||||||
gameconfs->RemoveUserConfigHook("Structs", this);
|
gameconfs->RemoveUserConfigHook("Structs", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user