check once to not join chat channel again

This commit is contained in:
ScrawnyRonnie 2025-09-01 11:39:44 -04:00
parent 6ae3a71907
commit bf4a911418
2 changed files with 5 additions and 3 deletions

View file

@ -2532,7 +2532,9 @@ class ZoningOperations(
sessionLogic.general.toggleTeleportSystem(obj, TelepadLike.AppraiseTeleportationSystem(obj, continent))
}
}
SessionOutfitHandlers.HandleLoginOutfitCheck(player, sessionLogic)
if (player.outfit_id == 0) {
SessionOutfitHandlers.HandleLoginOutfitCheck(player, sessionLogic)
}
//make weather happen
sendResponse(WeatherMessage(List(),List(
StormInfo(Vector3(0.1f, 0.15f, 0.0f), 240, 217),

View file

@ -58,8 +58,8 @@ class ChatService(context: ActorContext[ChatService.Command]) extends AbstractBe
case (SquadChannel(_), CMT_SQUAD) => ()
case (SquadChannel(_), CMT_VOICE) if message.contents.startsWith("SH") => ()
case (OutfitChannel(_), CMT_OUTFIT) => ()
case (DefaultChannel, messageType) if messageType != CMT_SQUAD => ()
case (SpectatorChannel, messageType) if messageType != CMT_SQUAD => ()
case (DefaultChannel, messageType) if messageType != CMT_SQUAD && messageType != CMT_OUTFIT => ()
case (SpectatorChannel, messageType) if messageType != CMT_SQUAD && messageType != CMT_OUTFIT => ()
case _ =>
log.error(s"invalid chat channel $channel for messageType ${message.messageType}")
return this