Improve replay server error messages

This commit is contained in:
Guangcong Luo
2017-10-10 23:06:54 -04:00
parent 01466f463f
commit c8a99436bb

View File

@@ -1200,9 +1200,6 @@
log: data.log,
id: id
}, function (data) {
if ((serverid === 'showdown') && (data === 'invalid id')) {
data = 'not found';
}
if (data === 'success') {
app.addPopup(ReplayUploadedPopup, {id: id});
} else if (data === 'hash mismatch') {