use setViewOptions over viewAs
This commit is contained in:
parent
edc2937d1a
commit
a1c4976e83
|
@ -225,7 +225,9 @@ $(document).ready(function () {
|
|||
else if(playerMode=="player-b")
|
||||
player = Jocly.PLAYER_B;
|
||||
if(player)
|
||||
match.viewAs(player)
|
||||
match.setViewOptions({
|
||||
viewAs: player
|
||||
})
|
||||
.then( () => {
|
||||
RunMatch(match,progressBar);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue