mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
autocompleter picking wrong casing for var name
This commit is contained in:
parent
72c9595f39
commit
bbdb7cefe8
1 changed files with 2 additions and 2 deletions
|
|
@ -595,8 +595,8 @@ void Server_AbstractParticipant::setUserInterface(Server_AbstractUserInterface *
|
|||
|
||||
void Server_AbstractParticipant::disconnectClient()
|
||||
{
|
||||
bool IsRegistered = userInfo->user_level() & ServerInfo_User::IsRegistered;
|
||||
if (!IsRegistered || spectator) {
|
||||
bool isRegistered = userInfo->user_level() & ServerInfo_User::IsRegistered;
|
||||
if (!isRegistered || spectator) {
|
||||
game->removeParticipant(this, Event_Leave::USER_DISCONNECTED);
|
||||
} else {
|
||||
setUserInterface(nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue