mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 18:57:39 +07:00
Unit bugfixes
This commit is contained in:
parent
90247e3b27
commit
07305aecf4
@ -147,6 +147,12 @@ public class EntityIO{
|
||||
|
||||
io(field.type, "");
|
||||
|
||||
//just assign the two values so jumping does not occur on de-possession
|
||||
if(sf){
|
||||
st(field.name + lastSuf + " = this." + field.name);
|
||||
st(field.name + targetSuf + " = this." + field.name);
|
||||
}
|
||||
|
||||
econt();
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user