fix(phone): only listen to UI Ready

This commit is contained in:
Christopher committed 2021-05-21 00:35:05 +02:00
1 parent 2411c39b95
commit fb32aaef15
6 files changed
+26 -47

No files matched your search

@@ -129,10 +129,6 @@ class _PlayerService {
playerLogger.info('NPWD Player Loaded!');
playerLogger.debug(newPlayer);
// Emit to client that player is ready
console.log('init baby', pSource);
emitNet(PhoneEvents.PLAYER_IS_READY, pSource, true);
}
/**
@@ -182,9 +178,6 @@ class _PlayerService {
playerLogger.info(`New NPWD Player added through event (${src}) (${identifier})`);
playerLogger.debug(player);
// Emit to client that player is ready
emitNet(PhoneEvents.PLAYER_IS_READY, src, true);
}
/**