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:
Mazo 2018-11-22 01:01:44 +00:00 committed by Fate-JH
parent 65905b3bdb
commit 6445883ccf

View file

@ -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))