mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 15:34:42 +00:00
two clarifying comments requested
This commit is contained in:
parent
9e75fd1191
commit
a96d76a3d6
2 changed files with 2 additions and 1 deletions
|
|
@ -1352,7 +1352,7 @@ class WorldSessionActor extends Actor with MDCContextAware {
|
||||||
|
|
||||||
case Zone.Ground.ItemOnGround(item, pos, orient) =>
|
case Zone.Ground.ItemOnGround(item, pos, orient) =>
|
||||||
item.Position = pos
|
item.Position = pos
|
||||||
item.Orientation = Vector3(0,0, orient.z) //only one kind of rotation is important
|
item.Orientation = Vector3(0,0, orient.z) //dropped items rotate towards the user's standing direction
|
||||||
val exclusionId = player.Find(item) match {
|
val exclusionId = player.Find(item) match {
|
||||||
case Some(slotNum) =>
|
case Some(slotNum) =>
|
||||||
player.Slot(slotNum).Equipment = None
|
player.Slot(slotNum).Equipment = None
|
||||||
|
|
|
||||||
|
|
@ -149,6 +149,7 @@ class VehicleService extends Actor {
|
||||||
VehicleEvents.publish(
|
VehicleEvents.publish(
|
||||||
VehicleServiceResponse(s"/${zone.Id}/Vehicle", Service.defaultPlayerGUID, VehicleResponse.LoadVehicle(vehicle, vtype, vguid, vdata))
|
VehicleServiceResponse(s"/${zone.Id}/Vehicle", Service.defaultPlayerGUID, VehicleResponse.LoadVehicle(vehicle, vtype, vguid, vdata))
|
||||||
)
|
)
|
||||||
|
//avoid unattended vehicle spawning blocking the pad; user should mount (and does so normally) to reset decon timer
|
||||||
vehicleDecon forward RemoverActor.AddTask(vehicle, zone, Some(30 seconds))
|
vehicleDecon forward RemoverActor.AddTask(vehicle, zone, Some(30 seconds))
|
||||||
|
|
||||||
//from VehicleSpawnControl
|
//from VehicleSpawnControl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue