File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ pub fn process_beam_actions(
360360 player_inventory. snapping = * val;
361361 }
362362 BeamAction :: Preview => {
363- if player_inventory. current_color == None
363+ if player_inventory. current_color . is_none ( )
364364 || !player_inventory. can_shoot_color ( player_inventory. current_color . unwrap ( ) )
365365 {
366366 continue ;
Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ impl Default for ShardMovingState {
196196#[ derive( Component ) ]
197197pub struct WasChilded ;
198198
199+ #[ allow( clippy:: type_complexity) ]
199200pub fn update_light_indicator (
200201 lyra : Single <
201202 (
@@ -278,7 +279,7 @@ pub fn update_light_indicator(
278279 to : LerpTranslationTarget :: Position (
279280 source_transform
280281 . translation
281- . with_z ( source_transform. translation . z + 1. ) ,
282+ . with_z ( source_transform. translation . z + 0.01 ) ,
282283 ) ,
283284 lerp : 0.2 ,
284285 } ) ;
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ pub fn check_save_state(save: &SaveData) -> [bool; 10] {
257257 out[ 8 ] = save. level . 0 . iter ( ) . any ( |lvl| {
258258 lvl. solutions_used
259259 . iter ( )
260- . any ( |sol| sol. light_order . iter ( ) . count ( ) < DESIRED_COUNTS [ lvl. sorted_level_index ] )
260+ . any ( |sol| sol. light_order . len ( ) < DESIRED_COUNTS [ lvl. sorted_level_index ] )
261261 } ) ;
262262
263263 let official_sols: [ Vec < Vec < LightColor > > ; 15 ] = [
You can’t perform that action at this time.
0 commit comments