Fixed server self-update to latest version

This commit is contained in:
Ylian Saint-Hilaire 2020-11-06 23:01:29 -08:00
parent 97b87a64f3
commit 1be9d92a35

View File

@ -9459,7 +9459,7 @@
function server_showVersionDlgEx(b, tags) { function server_showVersionDlgEx(b, tags) {
if (Q('d2updateCheck1').checked) { meshserver.send({ action: 'serverupdate', tag: 'stable', version: tags.stable }); } if (Q('d2updateCheck1').checked) { meshserver.send({ action: 'serverupdate', tag: 'stable', version: tags.stable }); }
if (Q('d2updateCheck2').checked) { meshserver.send({ action: 'serverupdate' }); } // , tag: 'latest', version: tags.latest if (Q('d2updateCheck2').checked) { meshserver.send({ action: 'serverupdate', tag: 'latest', version: tags.latest }); }
} }
function server_showErrorsDlg() { function server_showErrorsDlg() {