mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-08 14:24:52 +07:00
This commit is contained in:
parent
24db94a55b
commit
35ffbef557
@ -32,7 +32,9 @@ public class Fx{
|
||||
//lifetime is how many frames it takes to fade out the trail
|
||||
e.lifetime = trail.length * 1.4f;
|
||||
|
||||
trail.shorten();
|
||||
if(!state.isPaused()){
|
||||
trail.shorten();
|
||||
}
|
||||
trail.drawCap(e.color, e.rotation);
|
||||
trail.draw(e.color, e.rotation);
|
||||
}),
|
||||
|
@ -72,7 +72,9 @@ public class Wall extends Block{
|
||||
Draw.blend();
|
||||
Draw.reset();
|
||||
|
||||
hit = Mathf.clamp(hit - Time.delta / 10f);
|
||||
if(!state.isPaused()){
|
||||
hit = Mathf.clamp(hit - Time.delta / 10f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user