mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-04-28 07:45:28 +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._
|
import ctx._
|
||||||
ctx
|
ctx
|
||||||
.run(
|
.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 {
|
.onComplete {
|
||||||
case Success(_) =>
|
case Success(_) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue