mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-20 02:24:45 +00:00
Fix loadouts not being deleted
This commit is contained in:
parent
cc38ee3f3f
commit
8ea2ffad0f
|
|
@ -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…
Reference in a new issue