File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ where
116
116
}
117
117
118
118
fn finish ( & self , app : & mut App ) {
119
- if let Ok ( render_app) = app. get_sub_app_mut ( RenderApp ) {
119
+ if let Some ( render_app) = app. get_sub_app_mut ( RenderApp ) {
120
120
render_app
121
121
. add_render_command :: < Transparent2d , DrawTilemapMaterial < M > > ( )
122
122
. init_resource :: < MaterialTilemapPipeline < M > > ( )
Original file line number Diff line number Diff line change @@ -212,8 +212,8 @@ impl Plugin for TilemapRenderingPlugin {
212
212
) ;
213
213
214
214
let render_app = match app. get_sub_app_mut ( RenderApp ) {
215
- Ok ( render_app) => render_app,
216
- Err ( _ ) => return ,
215
+ Some ( render_app) => render_app,
216
+ None => return ,
217
217
} ;
218
218
219
219
render_app. init_resource :: < TilemapPipeline > ( ) ;
You can’t perform that action at this time.
0 commit comments