mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 19:09:34 +07:00
Fixed map shift field limiting to 3 characters
This commit is contained in:
parent
17d527ab05
commit
e19af8cc98
@ -3624,7 +3624,7 @@ public class UnitTypes{
|
||||
bullet = new BasicBulletType(5f, 34){{
|
||||
width = 7f;
|
||||
height = 12f;
|
||||
lifetime = 25f;
|
||||
lifetime = 21f;
|
||||
shootEffect = Fx.sparkShoot;
|
||||
smokeEffect = Fx.shootBigSmoke;
|
||||
hitColor = backColor = trailColor = Pal.suppress;
|
||||
@ -3706,7 +3706,7 @@ public class UnitTypes{
|
||||
trailParam = 4f;
|
||||
speed = 3f;
|
||||
damage = 75f;
|
||||
lifetime = 75f;
|
||||
lifetime = 68f;
|
||||
width = height = 15f;
|
||||
backColor = Pal.sapBulletBack;
|
||||
frontColor = Pal.sapBullet;
|
||||
|
@ -43,7 +43,7 @@ public class MapResizeDialog extends BaseDialog{
|
||||
table.field((x ? shiftX : shiftY) + "", value -> {
|
||||
int val = Integer.parseInt(value);
|
||||
if(x) shiftX = val; else shiftY = val;
|
||||
}).valid(Strings::canParseInt).maxTextLength(3);
|
||||
}).valid(Strings::canParseInt).maxTextLength(4);
|
||||
|
||||
table.row();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user