repo: janusweb action: commit revision: path_from: revision_from: 69061bdf049c86aafe80bc42c0da5a24e0fe09d7: path_to: revision_to:
commit 69061bdf049c86aafe80bc42c0da5a24e0fe09d7 Author: James BaicoianuDate: Fri Feb 10 01:52:51 2017 -0800 player.user_id fix diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -192,6 +192,8 @@ elation.require(['janusweb.config', 'engine.things.generic','janusweb.remoteplay
// connect to presence server
//this.userId = Date.now().toString();
this.userId = this.getUsername();
+ this.engine.client.player.properties.player_id = this.userId; // FIXME - player spawns without an id, so we fix it up here
+
var host = elation.utils.any(hashargs['janus.server'], elation.config.get('janusweb.network.host')),
port = elation.utils.any(hashargs['janus.port'], elation.config.get('janusweb.network.port'), 5567);
var janusOptions = {
-----END OF PAGE-----