Skip to content

Commit

Permalink
Fix hitbox is too small
Browse files Browse the repository at this point in the history
  • Loading branch information
EVAST9919 committed Nov 10, 2021
1 parent 8b404d3 commit c2b2a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Touhosu/UI/TouhosuPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected override void OnNewDrawableHitObject(DrawableHitObject drawableHitObje

private bool checkHit(Vector2 pos)
{
var isHit = Vector2.Distance(Player.PlayerPosition(), pos) < TouhosuPlayer.HITBOX_SIZE / 2f;
var isHit = Vector2.Distance(Player.PlayerPosition(), pos) < TouhosuPlayer.HITBOX_SIZE;

if (isHit)
Player.PlayMissAnimation();
Expand Down

0 comments on commit c2b2a73

Please sign in to comment.