Skip to content

Commit

Permalink
fix: 妖精が喋ったときに音を鳴らすかトグルできない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Feb 25, 2023
1 parent b6a9627 commit ce93b1f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ object System {
val uuid = player.getUniqueId
for {
isPlayFairySpeechSound <- doPlaySoundOnSpeak(uuid)
} yield persistence.setPlaySoundOnSpeech(uuid, !isPlayFairySpeechSound)
_ <- persistence.setPlaySoundOnSpeech(uuid, !isPlayFairySpeechSound)
} yield ()
}

override def sendDisappearTimeToChat: Kleisli[IO, Player, Unit] = Kleisli {
Expand Down

0 comments on commit ce93b1f

Please sign in to comment.