You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2024. It is now read-only.
When using Athena.vehicle.spawn.persistent(), the underlying code doesn't actually check if the vehicle is already spawned. It uses Athena.document.vehicle.exists(), which checks if a vehicle exists, but not if it is spawned.
Thus, I suggest that line 74 of src/core/server/vehicle/spawn.ts gets changed to: Athena.vehicle.get.spawnedVehicleByDocumentID()
This way, the spawn system actually checks if the vehicle is spawned, rather than if a document exists for it.
Hello -
When using
Athena.vehicle.spawn.persistent(), the underlying code doesn't actually check if the vehicle is already spawned. It usesAthena.document.vehicle.exists(), which checks if a vehicle exists, but not if it is spawned.Thus, I suggest that line 74 of src/core/server/vehicle/spawn.ts gets changed to:
Athena.vehicle.get.spawnedVehicleByDocumentID()This way, the spawn system actually checks if the vehicle is spawned, rather than if a document exists for it.