Change some events, fix p2 sending gameend twice
- Fixed gameend being sent twice in p2 - Add `ready`, `loader-error`, and `song-select-random` events - Fixed `session-start` not firing when invited, added event detail - Fixed `language-change` being fired at startup - Fixed `version-link` and `about-link` firing twice - "#song=" will fire `song-select-difficulty` - Removed `key-events` and `scoresheet-player2`, merged with `scoresheet` and made it more detailed
This commit is contained in:
@@ -61,8 +61,15 @@ class Scoresheet{
|
||||
})
|
||||
}
|
||||
pageEvents.send("scoresheet", {
|
||||
selectedSong: controller.selectedSong,
|
||||
autoPlayEnabled: controller.autoPlayEnabled,
|
||||
multiplayer: multiplayer,
|
||||
touchEnabled: touchEnabled,
|
||||
results: this.results,
|
||||
multiplayer: multiplayer
|
||||
p2results: multiplayer ? p2.results : null,
|
||||
keyboardEvents: controller.keyboard.keyboardEvents,
|
||||
gamepadEvents: controller.keyboard.gamepad.gamepadEvents,
|
||||
touchEvents: controller.view.touchEvents
|
||||
})
|
||||
}
|
||||
keyDown(event, code){
|
||||
|
||||
Reference in New Issue
Block a user