feat(rcf): cleanup

feat(rcf): append client color
feat(rcf): load selected object from mg loader
This commit is contained in:
Swann Martinez
2019-03-29 17:15:22 +01:00
parent 6abc900f86
commit 736a409db2
3 changed files with 173 additions and 124 deletions

View File

@ -243,9 +243,9 @@ class RCFClient():
logger.info("{} client running".format(id))
self.push_update(
"net/clients/{}".format(self.id.decode()), "client", [(0,0,0),(0,0,0),(0,0,0),(0,0,0)])
"net/clients/{}".format(self.id.decode()), "client", None)
self.push_update(
"net/objects/{}".format(self.id.decode()), "client_object", None)
"net/objects/{}".format(self.id.decode()), "clientObject", None)
self.tick_task = asyncio.ensure_future(self.tick())