Fixed more flaky tests

This commit is contained in:
Anuken
2021-06-26 20:55:52 -04:00
parent 604e6f8c47
commit bc6fcbc86d
5 changed files with 15 additions and 13 deletions

View File

@@ -854,7 +854,7 @@ public class Fx{
fireRemove = new Effect(70f, e -> {
if(Fire.regions[0] == null) return;
alpha(e.fout());
rect(Fire.regions[((int)(e.rotation + e.fin() * Fire.frames)) % Fire.frames], e.x, e.y);
rect(Fire.regions[((int)(e.rotation + e.fin() * Fire.frames)) % Fire.frames], e.x + Mathf.randomSeedRange((int)e.y, 2), e.y + Mathf.randomSeedRange((int)e.x, 2));
Drawf.light(e.x, e.y, 50f + Mathf.absin(5f, 5f), Pal.lightFlame, 0.6f * e.fout());
}),