diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-14 13:16:36 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-06-14 13:16:36 +0200 |
| commit | 86e7ba6711535181ca6b7602c9ddbb2b6d0d9dd7 (patch) | |
| tree | f3653b8faa065702f3b5d951385eaf37dd1ef237 | |
| parent | 76d34a2df37ec24150cd020984ac7e2ae5e85873 (diff) | |
| download | shrinker-86e7ba6711535181ca6b7602c9ddbb2b6d0d9dd7.tar.gz shrinker-86e7ba6711535181ca6b7602c9ddbb2b6d0d9dd7.zip | |
send match_update to player.name
| -rw-r--r-- | worker.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -796,6 +796,8 @@ function flatten(obj) { m.properties.headers.notify + "." + mat.api_id, new Buffer("match_update")) ); + await ch.publish("amq.topic", m.properties.headers.notify, + new Buffer("match_update")); } // player obj updated if (m.properties.type == "player") notif = "stats_update"; |
