mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
change to playerJoining event
This commit is contained in:
1 parent
c99d0780ae
commit
5d456d18c1
1 file changed
+1
-1
@@ -21,7 +21,7 @@ interface Credentials {
|
|||||||
export const Players = new Map<string, IPlayer>();
|
export const Players = new Map<string, IPlayer>();
|
||||||
|
|
||||||
// gets the identifers
|
// gets the identifers
|
||||||
onNet(events.PHONE_IS_READY, async () => {
|
on('playerJoining', async () => {
|
||||||
const pSource = (global as any).source;
|
const pSource = (global as any).source;
|
||||||
|
|
||||||
let identifier = null;
|
let identifier = null;
|
||||||
|
|||||||
Reference in new issue
Block a user