Minor optimization

This commit is contained in:
Anuken
2020-09-13 14:30:31 -04:00
parent 48391219fd
commit f3921e3dcc
32 changed files with 111 additions and 116 deletions
+2
View File
@@ -1826,6 +1826,8 @@ public class Blocks implements ContentList{
size = 2;
range = 80f;
itemCapacity = 20;
ammoAmount = 5;
consumes.item(Items.copper, 1);
}};
+1 -1
View File
@@ -36,7 +36,7 @@ public class Fx{
TextureRegion region = unit.icon(Cicon.full);
rect(region, e.x, e.y,
region.getWidth() * Draw.scl * scl, region.getHeight() * Draw.scl * scl, 180f);
region.width * Draw.scl * scl, region.height * Draw.scl * scl, 180f);
}),
@@ -1030,6 +1030,7 @@ public class UnitTypes implements ContentList{
mega = new UnitType("mega"){{
mineTier = 2;
health = 500;
speed = 1.8f;
accel = 0.06f;