mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-22 16:06:44 +00:00
Use the server major version pulled from serverinfo when starting a stream
This commit is contained in:
@@ -41,6 +41,7 @@ NvHTTP.prototype = {
|
||||
if($root.attr("status_code") == 200) {
|
||||
_self.paired = $root.find("PairStatus").text().trim() == 1;
|
||||
_self.currentGame = parseInt($root.find("currentgame").text().trim(), 10);
|
||||
_self.serverMajorVersion = parseInt($root.find("appversion").text().trim().substring(0, 1), 10);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user