gameServer/Actions.hs
changeset 13696 d732ca5dcab9
parent 13673 1aa5e884326a
child 13703 2df519242d41
--- a/gameServer/Actions.hs	Sat Aug 25 19:07:17 2018 +0200
+++ b/gameServer/Actions.hs	Sat Aug 25 19:23:19 2018 +0200
@@ -733,7 +733,7 @@
 processAction (Random chans items) = do
     let i = if null items then ["heads", "tails"] else items
     n <- io $ randomRIO (0, length i - 1)
-    processAction $ AnswerClients chans ["CHAT", "[random]", i !! n]
+    processAction $ AnswerClients chans ["CHAT", nickRandom, i !! n]
 
 
 processAction (LoadGhost location) = do