Added ability to relay server commands
Bryan Roe committed
Jan 27, 2021 at 10:54 UTC
aff5bfb8f7360d8717676b2945082ae36f952e7d
1 file changed
+4
agents/tinycore.js
+4
@@ -136,6 +136,10 @@ function handleServerCommand(data)
136
}
137
}
138
}
139
+ else
140
+ {
141
+ console.log(JSON.stringify(data, null, 1));
142
+ }
143
}
144
145
// Called when the server connection state changes