Fixed the authenticator bug
git-svn-id: http://mc-server.googlecode.com/svn/trunk@344 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -261,7 +261,13 @@ void cClientHandle::Kick(const AString & a_Reason)
|
||||
|
||||
void cClientHandle::Authenticate(void)
|
||||
{
|
||||
if (m_State != csAuthenticating)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
ASSERT( m_Player == NULL );
|
||||
|
||||
// Spawn player (only serversided, so data is loaded)
|
||||
m_Player = new cPlayer(this, GetUsername());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user