mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-20 02:54:46 +00:00
Add 1.5 to Z axis when spawning at respawn tubes to prevent clipping with new spawn tube positions from ubr files (#239)
This commit is contained in:
parent
65905b3bdb
commit
6445883ccf
|
|
@ -493,6 +493,7 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
|||
spawn_tube.Owner match {
|
||||
case building : Building =>
|
||||
log.info(s"Zone.Lattice.SpawnPoint: spawn point on $zone_id in building ${building.Id} selected")
|
||||
pos = pos + (Vector3(0, 0, 1.5f))
|
||||
case vehicle : Vehicle =>
|
||||
// vehicleService ! VehicleServiceMessage.Decon(RemoverActor.ClearSpecific(List(vehicle), continent))
|
||||
// vehicleService ! VehicleServiceMessage.Decon(RemoverActor.AddTask(vehicle, continent, vehicle.Definition.DeconstructionTime))
|
||||
|
|
|
|||
Loading…
Reference in a new issue