Skip to content
This repository was archived by the owner on Feb 12, 2021. It is now read-only.
This repository was archived by the owner on Feb 12, 2021. It is now read-only.

TypeError: Cannot read property 'PlayerControl' of undefined #24

@Rohit3523

Description

@Rohit3523

When i host a game via your module and i try to join the lobby with my phone i get this error

Complete Error:
(node:3380) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'PlayerControl' of undefined
at Game. (file:///C:/Users/Rohit/Desktop/Other/AmongUS2/node_modules/amongus-protocol/js/lib/struct/Game.js:168:65)
at Generator.next ()
at file:///C:/Users/Rohit/Desktop/Other/AmongUS2/node_modules/amongus-protocol/js/lib/struct/Game.js:7:71
at new Promise ()
at __awaiter (file:///C:/Users/Rohit/Desktop/Other/AmongUS2/node_modules/amongus-protocol/js/lib/struct/Game.js:3:12)
at Game.setStartCounter (file:///C:/Users/Rohit/Desktop/Other/AmongUS2/node_modules/amongus-protocol/js/lib/struct/Game.js:156:16)
at Game. (file:///C:/Users/Rohit/Desktop/Other/AmongUS2/node_modules/amongus-protocol/js/lib/struct/Game.js:189:22)
at Generator.next ()
at file:///C:/Users/Rohit/Desktop/Other/AmongUS2/node_modules/amongus-protocol/js/lib/struct/Game.js:7:71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions