Fixed gamedata file refcounting bug in the structs extension.
Fixed gamedata file refcounting bug in the structs extension.
1.1 --- a/extensions/structs/extension.cpp Fri Oct 31 22:35:27 2008 -0700
1.2 +++ b/extensions/structs/extension.cpp Fri Oct 31 22:47:13 2008 -0700
1.3 @@ -88,7 +88,7 @@
1.4 void Structs::SDK_OnUnload()
1.5 {
1.6 handlesys->RemoveType(g_StructHandle, myself->GetIdentity());
1.7 -
1.8 + gameconfs->CloseGameConfigFile(conf);
1.9 gameconfs->RemoveUserConfigHook("Structs", this);
1.10 }
1.11