mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: tank names
This commit is contained in:
1 parent
13311245a5
commit
33209a6d31
2 files changed
+1
-3
No files matched your search
@@ -207,8 +207,6 @@ export class ServerAPI extends AbstractAPI {
|
|||||||
const item = this.metadata.item(remoteUrl);
|
const item = this.metadata.item(remoteUrl);
|
||||||
const candidate = item.RemoteStorage();
|
const candidate = item.RemoteStorage();
|
||||||
|
|
||||||
console.log(remoteUrl, candidate);
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
remoteStorage === undefined ||
|
remoteStorage === undefined ||
|
||||||
candidate.download_speed_weight > remoteStorage.download_speed_weight
|
candidate.download_speed_weight > remoteStorage.download_speed_weight
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { useLocale } from "./useLocale";
|
|||||||
export function useGameStrings(group: string) {
|
export function useGameStrings(group: string) {
|
||||||
const locale = useLocale();
|
const locale = useLocale();
|
||||||
const strings = useAwait(
|
const strings = useAwait(
|
||||||
() => api._groupedGameStrings(locale, group, true),
|
() => api.groupedGameStrings(locale, group, true),
|
||||||
`game-strings-${locale}-${group}`,
|
`game-strings-${locale}-${group}`,
|
||||||
);
|
);
|
||||||
return strings;
|
return strings;
|
||||||
|
|||||||
Reference in new issue
Block a user