Skip to content

Commit

Permalink
Removed Code Smell
Browse files Browse the repository at this point in the history
No apparent issues should be resulted of this change.
  • Loading branch information
Hasakev committed Oct 16, 2023
1 parent efe99aa commit 0d0f960
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public void update() {

// apply slow effect
if (mob) {
if (target == null) {
return;
}
if (slowFlag) {
isSlowed = true;
Vector2 half_speed = new Vector2(defaultTargetSpeed.x / 2, defaultTargetSpeed.y / 2);
Expand Down

0 comments on commit 0d0f960

Please sign in to comment.