Browse Source

joinMessageFile no longer syncs to file system on rehash.

pull/3/head
JustinAJ 10 years ago
parent
commit
72c185abe3
  1. 1
      RenX.Medals/RenX_Medals.cpp

1
RenX.Medals/RenX_Medals.cpp

@ -240,7 +240,6 @@ void RenX_MedalsPlugin::RenX_OnDestroy(RenX::Server *server, const RenX::PlayerI
int RenX_MedalsPlugin::OnRehash() int RenX_MedalsPlugin::OnRehash()
{ {
RenX_MedalsPlugin::medalsFile.sync(RenX_MedalsPlugin::medalsFileName); RenX_MedalsPlugin::medalsFile.sync(RenX_MedalsPlugin::medalsFileName);
RenX_MedalsPlugin::joinMessageFile.sync(RenX_MedalsPlugin::joinMessageFileName);
RenX_MedalsPlugin::medalsFile.flushData(); RenX_MedalsPlugin::medalsFile.flushData();
RenX_MedalsPlugin::joinMessageFile.flushData(); RenX_MedalsPlugin::joinMessageFile.flushData();
init(); init();

Loading…
Cancel
Save