Commit de596a27 by Alexander Bazo

Fix bug in log string

parent b610e1ab
...@@ -50,7 +50,7 @@ class ImageViewerRoom extends colyseus.Room { ...@@ -50,7 +50,7 @@ class ImageViewerRoom extends colyseus.Room {
if (message.type === "gaze") { if (message.type === "gaze") {
if (client.color === undefined) { if (client.color === undefined) {
client.color = Colors.createRandomColor(); client.color = Colors.createRandomColor();
Logger.log(`Assign clien color: ${clien.color}`, "ImageViewer Room"); Logger.log(`Assign clien color: ${client.color}`, "ImageViewer Room");
} }
message.data.color = client.color; message.data.color = client.color;
let point = GazePoint.fromClientData(message.data); let point = GazePoint.fromClientData(message.data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment