mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-04 04:30:21 +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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue