File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scenes/BattleDirector/scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,12 +189,12 @@ public void IncreaseCharge(int amount = 1)
189189 // Placing a note resets the note placement bar
190190 public Note PlacedNote ( BattleDirector BD )
191191 {
192- _currentBarValue -= ( int ) ( _currentNoteInstance . CostModifier * MaxValue ) ;
192+ Note placedNote = GetNote ( Input . IsActionPressed ( "Secondary" ) ) ;
193193
194+ _currentBarValue -= ( int ) ( placedNote . CostModifier * MaxValue ) ;
194195 UpdateNotePlacementBar ( _currentBarValue ) ;
195196
196- Note placedNote = GetNote ( Input . IsActionPressed ( "Secondary" ) ) ;
197- placedNote ? . OnHit ( BD , Timing . Okay ) ; //Hardcode for now, eventually the note itself could have its default
197+ placedNote . OnHit ( BD , Timing . Okay ) ; //Hardcode for now, eventually the note itself could have its default
198198 return placedNote ;
199199 }
200200
You can’t perform that action at this time.
0 commit comments