mirror of
https://gitee.com/dgflash/oops-game-kit.git
synced 2026-06-04 04:59:46 +08:00
.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user