mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
Fix research finished not syncing properly
Fix the research finished event not being sent to the controller, which in turn meant it would not sync properly.
This commit is contained in:
1 parent
11ffee646e
commit
42ae4d6897
3 files changed
+3
-2
No files matched your search
@@ -56,7 +56,7 @@ export class InstancePlugin extends BaseInstancePlugin {
|
||||
}
|
||||
|
||||
async researchFinished(tech: IpcFinished) {
|
||||
this.instance.sendTo("allInstances", new FinishedEvent(tech.name, tech.level));
|
||||
this.instance.sendTo("controller", new FinishedEvent(tech.name, tech.level));
|
||||
}
|
||||
|
||||
async handleFinishedEvent(event: FinishedEvent) {
|
||||
|
||||
Reference in new issue
Block a user