Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
aronwk-aaron committed Dec 28, 2023
1 parent 5df9b39 commit ab39fdb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dGame/dComponents/ActivityComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void ActivityComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsIniti
}
}
}
m_DirtyActivityInfo = false;
if (!bIsInitialUpdate) m_DirtyActivityInfo = false;
}
}

Expand Down Expand Up @@ -122,8 +122,6 @@ void ActivityComponent::PlayerJoin(Entity* player) {
auto* instance = NewInstance();
instance->AddParticipant(player);
}
m_DirtyActivityInfo = true;
Game::entityManager->SerializeEntity(m_Parent);
}

void ActivityComponent::PlayerJoinLobby(Entity* player) {
Expand Down

0 comments on commit ab39fdb

Please sign in to comment.