mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(phone): only listen to UI Ready
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user