mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
Fix results crashing if other player disconnects early
This commit is contained in:
parent
88317ae2d9
commit
fb836d7e77
@ -132,7 +132,7 @@ class Scoresheet{
|
|||||||
var frameTop = winH / 2 - 720 / 2
|
var frameTop = winH / 2 - 720 / 2
|
||||||
var frameLeft = winW / 2 - 1280 / 2
|
var frameLeft = winW / 2 - 1280 / 2
|
||||||
|
|
||||||
var players = this.multiplayer ? 2 : 1
|
var players = p2.results ? 2 : 1
|
||||||
var p2Offset = 298
|
var p2Offset = 298
|
||||||
|
|
||||||
var bgOffset = 0
|
var bgOffset = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user