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