Browse Source

Fixed bug where silenceJoins gets stuck on true after reconnecting.

pull/3/head
JustinAJ 10 years ago
parent
commit
dbb5df91f1
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 3
      RenX.Core/RenX_Server.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

3
RenX.Core/RenX_Server.cpp

@ -952,7 +952,10 @@ void RenX::Server::processLine(const Jupiter::ReadableString &line)
if (this->profile->disconnectOnGameOver == false) if (this->profile->disconnectOnGameOver == false)
this->firstGame = true; this->firstGame = true;
else if (this->firstGame == false) else if (this->firstGame == false)
{
this->firstAction = false;
this->silenceJoins = true; this->silenceJoins = true;
}
for (size_t i = 0; i < xPlugins.size(); i++) for (size_t i = 0; i < xPlugins.size(); i++)
xPlugins.get(i)->RenX_OnVersion(this, buff); xPlugins.get(i)->RenX_OnVersion(this, buff);

Loading…
Cancel
Save