mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
fix(phone): fixed?
This commit is contained in:
1 parent
2f0f83a17e
commit
054f89c03d
6 files changed
+66
-25
No files matched your search
@@ -131,7 +131,8 @@ class _PlayerService {
|
||||
playerLogger.debug(newPlayer);
|
||||
|
||||
// Emit to client that player is ready
|
||||
/*emitNet(PhoneEvents.ON_INIT, pSource);*/
|
||||
console.log('init baby', pSource);
|
||||
emitNet(PhoneEvents.PLAYER_IS_READY, pSource, true);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -183,7 +184,7 @@ class _PlayerService {
|
||||
playerLogger.debug(player);
|
||||
|
||||
// Emit to client that player is ready
|
||||
emitNet(PhoneEvents.ON_INIT, src);
|
||||
emitNet(PhoneEvents.PLAYER_IS_READY, src, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user