Fixed Player Already Online

It use to always finalize the player even if it failed with a status
This commit is contained in:
WizardJesse1
2015-12-29 22:36:05 -05:00
parent ba1537a9e4
commit cbc68d331d
@@ -219,11 +219,10 @@ public final class GameService extends Service {
request.session.sendLoginFailure(LoginConstants.STATUS_SERVER_FULL); request.session.sendLoginFailure(LoginConstants.STATUS_SERVER_FULL);
} else { } else {
request.session.sendLoginSuccess(player); request.session.sendLoginSuccess(player);
}
finalizePlayerRegistration(player); finalizePlayerRegistration(player);
} }
} }
}
/** /**
* Finalizes the unregistration of Player's queued to be unregistered. * Finalizes the unregistration of Player's queued to be unregistered.