aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Server/Server.scala
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-23 05:24:10 +0200
committerJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-23 05:24:10 +0200
commit28b83db50f33cb704311ffe608dcd8c4412635cf (patch)
treec1be7986ef783973ceeffb2b966bec0019feff1b /src/scalevalapokalypsi/Server/Server.scala
parentdb5612ed9734d51e6fcd0d7b5a7635e49b773581 (diff)
downloadscalevalapokalypsi-28b83db50f33cb704311ffe608dcd8c4412635cf.tar.gz
scalevalapokalypsi-28b83db50f33cb704311ffe608dcd8c4412635cf.zip
NPCs, zombies and talking
Diffstat (limited to 'src/scalevalapokalypsi/Server/Server.scala')
-rw-r--r--src/scalevalapokalypsi/Server/Server.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scalevalapokalypsi/Server/Server.scala b/src/scalevalapokalypsi/Server/Server.scala
index 89db302..2ea8bd4 100644
--- a/src/scalevalapokalypsi/Server/Server.scala
+++ b/src/scalevalapokalypsi/Server/Server.scala
@@ -56,8 +56,7 @@ class Server(
this.writeObservations()
if this.canExecuteTurns then
this.clients.foreach(_.giveTurn())
- //this.writeClientDataToClients()
- //this.writeObservations()
+ this.adventure.foreach(_.takeNpcTurns())
this.clients.foreach(c =>
this.writeToClient(this.turnStartInfo(c), c)
)