Remove equal checks

This commit is contained in:
Jett 2022-01-19 11:35:46 +00:00 committed by GitHub
parent d69a4ffaf0
commit 2bfff2933a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1043,8 +1043,8 @@ void HandlePacket(Packet* packet) {
player->GetComponent<CharacterComponent>()->SetLastRocketConfig(u""); player->GetComponent<CharacterComponent>()->SetLastRocketConfig(u"");
// Retroactive check for if player has joined a faction to set their 'joined a faction' flag to true. // Retroactive check for if player has joined a faction to set their 'joined a faction' flag to true.
if (c->GetPlayerFlag(ePlayerFlags::VENTURE_FACTION) == true || c->GetPlayerFlag(ePlayerFlags::ASSEMBLY_FACTION) == true || if (c->GetPlayerFlag(ePlayerFlags::VENTURE_FACTION) || c->GetPlayerFlag(ePlayerFlags::ASSEMBLY_FACTION) ||
c->GetPlayerFlag(ePlayerFlags::PARADOX_FACTION) == true || c->GetPlayerFlag(ePlayerFlags::SENTINEL_FACTION) == true) { c->GetPlayerFlag(ePlayerFlags::PARADOX_FACTION) || c->GetPlayerFlag(ePlayerFlags::SENTINEL_FACTION)) {
c->SetPlayerFlag(ePlayerFlags::JOINED_A_FACTION, true); c->SetPlayerFlag(ePlayerFlags::JOINED_A_FACTION, true);
} }