Browse Source

Fixed team not being assigned.

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

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

4
RenX.Core/RenX_Server.cpp

@ -667,6 +667,10 @@ void RenX::Server::processLine(const Jupiter::ReadableString &line)
{
Jupiter::ReferenceString idToken = playerData.getToken(1, ',');
name = Jupiter::ReferenceString::gotoToken(data, 2, ',');
if (playerData[0] == ',')
team = Other;
else
team = RenX::getTeam(playerData[0]);
if (idToken.get(0) == 'b')
{
idToken.shiftRight(1);

Loading…
Cancel
Save