Unit bugfixes

This commit is contained in:
Anuken
2020-09-03 16:02:14 -04:00
parent 90247e3b27
commit 07305aecf4
2 changed files with 7 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ public class Effect{
public void render(int id, Color color, float life, float rotation, float x, float y, Object data){
container.set(id, color, life, lifetime, rotation, x, y, data);
Draw.z(ground ? Layer.debris : Layer.effect);
Draw.reset();
renderer.get(container);
Draw.reset();
}