Skip to content

Commit a16b7e3

Browse files
authored
Merge pull request #1758 from madsboddum/fix/vehicle/jetpack-hover-height
Fixed most vehicle customization variables not being applied
2 parents 82ecc88 + b65c763 commit a16b7e3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/main/java/com/projectswg/holocore/services/gameplay/world/travel/PlayerMountService.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ class PlayerMountService : Service() {
256256
mount.setTurnScale(vehicleInfo.turnRateMax.toDouble())
257257
mount.setAccelScale(vehicleInfo.accelMax)
258258
mount.putCustomization("/private/index_speed_max", (vehicleInfo.speed * 10.0).toInt())
259-
mount.putCustomization("/private/index_speed_min", (vehicleInfo.minSpeed * 10.0).toInt())
260259
mount.putCustomization("/private/index_turn_rate_min", vehicleInfo.turnRate)
261260
mount.putCustomization("/private/index_turn_rate_max", vehicleInfo.turnRateMax)
262261
mount.putCustomization("/private/index_accel_min", (vehicleInfo.accelMin * 10.0).toInt())
@@ -269,7 +268,6 @@ class PlayerMountService : Service() {
269268
mount.putCustomization("/private/index_banking", vehicleInfo.bankingAngle.toInt())
270269
mount.putCustomization("/private/index_hover_height", (vehicleInfo.hoverHeight * 10.0).toInt())
271270
mount.putCustomization("/private/index_auto_level", (vehicleInfo.autoLevel * 100.0).toInt())
272-
mount.putCustomization("/private/index_strafe", if (vehicleInfo.isStrafe) 1 else 0)
273271

274272
ObjectCreatedIntent(mount).broadcast()
275273
StandardLog.onPlayerTrace(this, player, "called mount %s at %s %s", mount, mount.terrain, mount.location.position)

0 commit comments

Comments
 (0)