Skip to content

Commit

Permalink
Merge pull request #600 from LumpBloom7/dependabot/nuget/ppy.osu.Game…
Browse files Browse the repository at this point in the history
…-2024.718.0

Bump ppy.osu.Game from 2024.628.0 to 2024.718.0
  • Loading branch information
LumpBloom7 authored Jul 18, 2024
2 parents eaa6723 + c5c9dec commit 7a78fe9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Sentakki/Replays/SentakkiReplayFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void FromLegacy(LegacyReplayFrame currentFrame, IBeatmap beatmap, ReplayF
if (currentFrame.MouseLeft) Actions.Add(SentakkiAction.Button1);
if (currentFrame.MouseRight) Actions.Add(SentakkiAction.Button2);

UsingSensorMode = currentFrame.ButtonState.HasFlagFast(ReplayButtonState.Smoke);
UsingSensorMode = currentFrame.ButtonState.HasFlag(ReplayButtonState.Smoke);
}

public LegacyReplayFrame ToLegacy(IBeatmap beatmap)
Expand Down
6 changes: 2 additions & 4 deletions osu.Game.Rulesets.Sentakki/UI/DrawableSentakkiRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,9 @@ public void OnReleased(KeyBindingReleaseEvent<GlobalAction> e) { }
// Input specifics (sensor/button) for replay and gameplay
private readonly Bindable<LaneInputMode> laneInputMode = new Bindable<LaneInputMode>();

private bool hasReplay => ((SentakkiInputManager)KeyBindingInputManager).ReplayInputHandler != null;
private SentakkiFramedReplayInputHandler? sentakkiFramedReplayInput => (SentakkiFramedReplayInputHandler?)((SentakkiInputManager)KeyBindingInputManager).ReplayInputHandler;

private SentakkiFramedReplayInputHandler sentakkiFramedReplayInput => (SentakkiFramedReplayInputHandler)((SentakkiInputManager)KeyBindingInputManager).ReplayInputHandler;

public bool UseSensorMode => hasReplay ? sentakkiFramedReplayInput.UsingSensorMode : laneInputMode.Value == LaneInputMode.Sensor;
public bool UseSensorMode => sentakkiFramedReplayInput is not null ? sentakkiFramedReplayInput.UsingSensorMode : laneInputMode.Value == LaneInputMode.Sensor;

// Default stuff
protected override Playfield CreatePlayfield() => new SentakkiPlayfield();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyName>osu.Game.Rulesets.Sentakki</AssemblyName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2024.628.0"/>
<PackageReference Include="ppy.osu.Game" Version="2024.718.0"/>
</ItemGroup>

<!--Since we aren't changing the assembly name, we use the assembly title to indicate whether it is a dev build-->
Expand Down

0 comments on commit 7a78fe9

Please sign in to comment.