mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 17:54:01 +00:00
Address feedback
This commit is contained in:
@@ -6215,8 +6215,5 @@ void GameMessages::HandleRequestActivityExit(RakNet::BitStream* inStream, Entity
|
||||
inStream->Read(player_id);
|
||||
auto player = EntityManager::Instance()->GetEntity(player_id);
|
||||
if (!entity || !player) return;
|
||||
|
||||
for (auto* shootingGallery : EntityManager::Instance()->GetEntitiesByComponent(eReplicaComponentType::SHOOTING_GALLERY)) {
|
||||
shootingGallery->RequestActivityExit(entity, player_id, true);
|
||||
}
|
||||
entity->RequestActivityExit(entity, player_id, canceled);
|
||||
}
|
||||
|
Reference in New Issue
Block a user