diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2024-11-23 05:24:10 +0200 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2024-11-23 05:24:10 +0200 |
commit | 28b83db50f33cb704311ffe608dcd8c4412635cf (patch) | |
tree | c1be7986ef783973ceeffb2b966bec0019feff1b /src/scalevalapokalypsi/Server | |
parent | db5612ed9734d51e6fcd0d7b5a7635e49b773581 (diff) | |
download | scalevalapokalypsi-28b83db50f33cb704311ffe608dcd8c4412635cf.tar.gz scalevalapokalypsi-28b83db50f33cb704311ffe608dcd8c4412635cf.zip |
NPCs, zombies and talking
Diffstat (limited to 'src/scalevalapokalypsi/Server')
-rw-r--r-- | src/scalevalapokalypsi/Server/Server.scala | 3 |
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) ) |