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

Creeps being turned into terminals #1

Closed
AlinaNova21 opened this issue Feb 12, 2020 · 0 comments
Closed

Creeps being turned into terminals #1

AlinaNova21 opened this issue Feb 12, 2020 · 0 comments

Comments

@AlinaNova21
Copy link
Member

await db['rooms.objects'].update({room: terminal.room}, {$set: terminal})

So, as discovered on S+ this week, this is a major bug. It applies terminal properties unconditionally on any object in the room, including creeps, thus turning those into terminals. This breaks the market processing bad enough to halt ticks.
A fix is to add type: 'terminal' into the query portion of this line.

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