mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Send the research queue to followers after a finished technology is removed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
bedfe0873b
commit
2035f5bc2c
5 files changed
+66
-12
No files matched your search
@@ -109,9 +109,10 @@ export default async function(context: InstancePluginContext) {
|
||||
if (!syncStarted || !["starting", "running"].includes(instance.status)) {
|
||||
return;
|
||||
}
|
||||
let data: { queue: string[], instance: string, player?: string } = {
|
||||
queue: event.queue, instance: event.instance,
|
||||
};
|
||||
let data: { queue: string[], instance?: string, player?: string } = { queue: event.queue };
|
||||
if (event.instance !== null) {
|
||||
data.instance = event.instance;
|
||||
}
|
||||
if (event.player !== null) {
|
||||
data.player = event.player;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user