Skip to content

Commit

Permalink
fixup! C: 伤害跳字
Browse files Browse the repository at this point in the history
* 重置伤害
  • Loading branch information
MinRi2 committed Jun 5, 2024
1 parent 15d5f4a commit 29bcb43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/mindustryX/features/DamagePopup.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ private static class Popup implements Poolable{
public Font font = Fonts.outline;
public float x, y;
public float lifetime;
public float damage;
public float alpha;
public float scale;
public float offset;
public float rotation; // deg
public Color color;

public float damage;
private float time;
public int count;

Expand Down Expand Up @@ -165,6 +165,7 @@ public float countEffect(){
@Override
public void reset(){
time = 0f;
damage = 0f;
count = 0;
}
}
Expand Down

0 comments on commit 29bcb43

Please sign in to comment.