Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit group still invalid during selection code #182

Open
kyranf opened this issue Jan 29, 2023 · 0 comments
Open

unit group still invalid during selection code #182

kyranf opened this issue Jan 29, 2023 · 0 comments

Comments

@kyranf
Copy link
Owner

kyranf commented Jan 29, 2023

after v0.4.17 we still get some instances of the unit group invalid while checking for squad validity during selection checks

https://mods.factorio.com/mod/robotarmy/discussion/6374a63678ccfa47fd725a94

模组 机器人军队 (0.4.17) 引发了无法恢复的错误。
请向模组作者报告此错误。

Error while running event robotarmy::on_player_selected_area (ID 51)
LuaUnitGroup API call when LuaUnitGroup was invalid.
stack traceback:
[C]: in function 'index'
__robotarmy/robolib/Squad.lua:640: in function 'validateSquadIntegrity'
robotarmy/robolib/Squad.lua:289: in function 'getClosestSquadToPos'
robotarmy/robolib/eventhandlers.lua:119: in function 'reportSelectedUnits'
robotarmy/control.lua:75: in function <robotarmy/control.lua:74>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant