diff --git a/public/hft/0.x.x/scripts/netplayer.js b/public/hft/0.x.x/scripts/netplayer.js index 7920f92a..bb4ddb30 100644 --- a/public/hft/0.x.x/scripts/netplayer.js +++ b/public/hft/0.x.x/scripts/netplayer.js @@ -59,6 +59,10 @@ define(function() { var _name = name; var _busy = false; + if (data && data.__hft_name__) { + _name = data.__hft_name__; + } + function sendCmd(cmd, msg) { if (!_connected) { return;