aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Server/Server.scala
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-22 22:42:22 +0200
committerJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-22 22:42:22 +0200
commitdb5612ed9734d51e6fcd0d7b5a7635e49b773581 (patch)
treee23e607c9d9eeedc377bf44e57c2b58b41d0389d /src/scalevalapokalypsi/Server/Server.scala
parent49985d1d11c426968fc298469671326aace96d00 (diff)
downloadscalevalapokalypsi-db5612ed9734d51e6fcd0d7b5a7635e49b773581.tar.gz
scalevalapokalypsi-db5612ed9734d51e6fcd0d7b5a7635e49b773581.zip
Character safety checking, supported terminals updated
Diffstat (limited to 'src/scalevalapokalypsi/Server/Server.scala')
-rw-r--r--src/scalevalapokalypsi/Server/Server.scala7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/scalevalapokalypsi/Server/Server.scala b/src/scalevalapokalypsi/Server/Server.scala
index 8debdba..89db302 100644
--- a/src/scalevalapokalypsi/Server/Server.scala
+++ b/src/scalevalapokalypsi/Server/Server.scala
@@ -124,12 +124,7 @@ class Server(
target.foreach(t =>
if c.player.exists(_.isSinging) && !c.clientHasSong then
val verse = t.getVerseAgainst
- println(s"got verse against: “$verse”")
- this.writeToClient(
- s"${SING_INDICATOR}$verse\r\n",
- // TODO: store the verse and check how close client input is when determining sing quality
- c
- )
+ this.writeToClient(s"${SING_INDICATOR}$verse\r\n", c)
c.startSong(verse)
)
)