Potential sector data carry-over fix

This commit is contained in:
Anuken
2025-09-19 23:09:37 -04:00
parent 71fbfffaec
commit 7c57211807
5 changed files with 18 additions and 33 deletions

View File

@@ -996,8 +996,8 @@ public class MobileInput extends InputHandler implements GestureListener{
}
targetPos.set(Core.camera.position);
float attractDst = 15f;
float attractDst = 15f;
float speed = unit.speed();
float range = unit.hasWeapons() ? unit.range() : 0f;
float bulletSpeed = unit.hasWeapons() ? type.weapons.first().bullet.speed : 0f;