mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-02-13 03:33:40 +00:00
Fix loadouts not being deleted
This commit is contained in:
parent
cc38ee3f3f
commit
8ea2ffad0f
1 changed files with 4 additions and 1 deletions
|
|
@ -676,7 +676,10 @@ class AvatarActor(
|
|||
import ctx._
|
||||
ctx
|
||||
.run(
|
||||
query[persistence.Loadout].filter(_.avatarId == lift(avatar.id)).filter(_.loadoutNumber == lift(number))
|
||||
query[persistence.Loadout]
|
||||
.filter(_.avatarId == lift(avatar.id))
|
||||
.filter(_.loadoutNumber == lift(number))
|
||||
.delete
|
||||
)
|
||||
.onComplete {
|
||||
case Success(_) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue