This commit is contained in:
donggang
2024-03-01 10:32:18 +08:00
parent 921fb82fa4
commit 70b8f773f2

View File

@@ -73,7 +73,7 @@ export class InitResSystem extends ecs.ComblockSystem implements ecs.IEntityEnte
queue.push((next: NextFunction, params: any, args: any) => {
// 设置默认语言
let lan = oops.storage.get("language");
if (lan == null) {
if (lan == null || lan == "") {
lan = "zh";
oops.storage.set("language", lan);
}