localization update

This commit is contained in:
Natsumi
2023-02-17 01:14:49 +13:00
parent 44e936c463
commit e531a88f3c
3 changed files with 15 additions and 4 deletions

View File

@@ -412,7 +412,11 @@ speechSynthesis.getVoices();
if (response.status === 200) {
this.$throw(0, 'Invalid JSON response');
}
if (response.status === 504 || response.status === 502) {
if (
response.status === 504 ||
response.status === 502 ||
response.status === 429
) {
// ignore expected API errors
throw new Error(
`${response.status}: ${response.data} ${endpoint}`
@@ -9337,7 +9341,7 @@ speechSynthesis.getVoices();
}
break;
case 'screenshot':
if (!this.isGameRunning || !this.screenshotHelper) {
if (!this.screenshotHelper) {
break;
}
// var entry = {
@@ -9358,8 +9362,8 @@ speechSynthesis.getVoices();
displayName: API.currentUser.displayName
},
world: {
id: location.worldId,
name: this.lastLocation.name,
id: location.worldId,
instanceId: this.lastLocation.location
},
players: []