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
735bf069e9
commit
6ae9f5b881
1 changed files with 2 additions and 2 deletions
|
|
@ -595,8 +595,8 @@ void Server_AbstractParticipant::setUserInterface(Server_AbstractUserInterface *
|
||||||
|
|
||||||
void Server_AbstractParticipant::disconnectClient()
|
void Server_AbstractParticipant::disconnectClient()
|
||||||
{
|
{
|
||||||
bool IsRegistered = userInfo->user_level() & ServerInfo_User::IsRegistered;
|
bool isRegistered = userInfo->user_level() & ServerInfo_User::IsRegistered;
|
||||||
if (!IsRegistered || spectator) {
|
if (!isRegistered || spectator) {
|
||||||
game->removeParticipant(this, Event_Leave::USER_DISCONNECTED);
|
game->removeParticipant(this, Event_Leave::USER_DISCONNECTED);
|
||||||
} else {
|
} else {
|
||||||
setUserInterface(nullptr);
|
setUserInterface(nullptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue