File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
crates/bevy_ecs/src/query Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ impl<'a, T: Component> Fetch<'a> for EventWriterFetch<T> {
87
87
}
88
88
struct EventWriterState < T > {
89
89
event_component_id : ComponentId ,
90
- event_storage_type : StorageType ,
91
90
/// EventWriter query parameters require write access to &mut Events<T>
92
91
write_state : WriteState < Events < T > > ,
93
92
}
@@ -97,11 +96,6 @@ unsafe impl<T: Component> FetchState for EventWriterState<T> {
97
96
let event_component_id = world. components . get_id ( TypeId :: of :: < Events < T > > ( ) ) . unwrap ( ) ;
98
97
EventWriterState {
99
98
event_component_id,
100
- event_storage_type : world
101
- . components
102
- . get_info ( event_component_id)
103
- . unwrap ( )
104
- . storage_type ( ) ,
105
99
write_state : WriteState :: < Events < T > > :: init ( world) ,
106
100
}
107
101
}
You can’t perform that action at this time.
0 commit comments