mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Rename retrieve_entity_internal to lookup_entity
This commit is contained in:
@ -860,7 +860,7 @@ impl StateExt for State {
|
||||
.map_group(|_| group_info.map_or_else(|| "???".to_string(), |i| i.name.clone()));
|
||||
|
||||
let uid_allocator = ecs.read_resource::<UidAllocator>();
|
||||
let entity_from_uid = |uid| uid_allocator.retrieve_entity_internal(uid);
|
||||
let entity_from_uid = |uid| uid_allocator.lookup_entity(uid);
|
||||
|
||||
if msg.chat_type.uid().map_or(true, |sender| {
|
||||
entity_from_uid(sender).map_or(false, |e| {
|
||||
|
Reference in New Issue
Block a user