在 screeps 自定义模式 player1 工作正常,但是当我切换到播放器 2 时,我收到此错误:
cannot read property 'main' of undefined
当我添加 screeps 时,我也会收到此错误。
cannot read property role of undefined
我使用角色属性对我的小兵进行分类并告诉他们该做什么。我无法为这些新的 screep 添加角色。我认为这样做的原因是他们没有任何记忆可供我添加。为什么会这样?有什么建议么?