Skip to content

Safari无法启动 #2897

@fossifer

Description

@fossifer

错误描述

错误文件: https://localhost:5500/mode/guozhan/src/main.js
错误信息: SyntaxError: Left side of assignment is not a reference.
行号: 224
列号: 0
无名杀版本: 1.10.17.3
event.name: 
event.step: 0
-------------
220| 				if (info.group == group) {
221| 					info.isUnseen = true;
222| 				}
223| 				game.broadcast((name, info) => {
224| ⚠️					get.character(name) = info;
225| 				}, character, info);
226| 			}
227| 			await game.delay(5);
228| 			game.broadcastAll("closeDialog", event.videoId);
229| 		}
230| 

-------------

错误信息

使用的命令或代码

第一次启动时选择国战模式即报错,其他模式正常。刷新后启动游戏立即出现该报错,无法进入选择模式画面

使用的环境、平台、设备

VSCode Live Server 启动服务器,用 Safari 打开游戏,mac 和 ipad 均可复现

版本信息

PR-Branch

检查清单

  • 此问题没有在其他issue(议题)中出现
  • 我已将无名杀本体更新为最新版本
  • 我已将所有扩展更新为最新版本
  • 我填写了上面所有必要的信息

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions