fixing configuration file and warnings

This commit is contained in:
Fate-JH 2023-04-21 23:51:10 -04:00
parent 61a75f13cd
commit 39d3693b8b
3 changed files with 6 additions and 1 deletions

View file

@ -1063,6 +1063,9 @@ class AvatarActor(
} else { } else {
performAvatarLogin(avatarId, account.id, replyTo) performAvatarLogin(avatarId, account.id, replyTo)
} }
case Success(_) =>
//TODO this may not be an actual failure, but don't know what to do
sessionActor ! SessionActor.SendResponse(ActionResultMessage.Fail(error = 6))
case Failure(e) => case Failure(e) =>
log.error(e)("db failure") log.error(e)("db failure")
sessionActor ! SessionActor.SendResponse(ActionResultMessage.Fail(error = 6)) sessionActor ! SessionActor.SendResponse(ActionResultMessage.Fail(error = 6))

View file

@ -290,6 +290,8 @@ class InterstellarClusterService(context: ActorContext[InterstellarClusterServic
cavernRotation.foreach { cavernRotation.foreach {
rotation => rotation ! rotationMsg rotation => rotation ! rotationMsg
} }
case _ => ()
} }
this this
} }

View file

@ -158,7 +158,7 @@ case class GameConfig(
warpGates: WarpGateConfig, warpGates: WarpGateConfig,
cavernRotation: CavernRotationConfig, cavernRotation: CavernRotationConfig,
savedMsg: SavedMessageEvents, savedMsg: SavedMessageEvents,
playerDraw: PlayerStateDrawSettings playerDraw: PlayerStateDrawSettings,
doorsCanBeOpenedByMedAppFromThisDistance: Float doorsCanBeOpenedByMedAppFromThisDistance: Float
) )