Trigger a refresh of the players list when someone logs in

This commit is contained in:
Tissevert 2019-12-21 23:08:38 +01:00
parent 0c285c47bb
commit d17edb201d

View file

@ -57,6 +57,7 @@ Screen.Hall = function(modules) {
modules.messaging.addEventListener(["LogIn"], function(o) { modules.messaging.addEventListener(["LogIn"], function(o) {
console.log("Someone joined in, they should be added to the lists"); console.log("Someone joined in, they should be added to the lists");
console.log(o); console.log(o);
refreshPlayers();
}); });
modules.messaging.addEventListener(["Relay", "Invitation"], function(o) { modules.messaging.addEventListener(["Relay", "Invitation"], function(o) {