mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Fix typo
Didn't mean to commit this.
This commit is contained in:
parent
d6c78db0dd
commit
56a5175d00
|
|
@ -429,7 +429,7 @@ export abstract class ProcessManager<T extends ProcessWrapper = ProcessWrapper>
|
|||
this.module = module;
|
||||
this.filename = module.filename;
|
||||
this.basename = path.basename(module.filename);
|
||||
this.isParentProcess = !process.send;
|
||||
this.isParentProcess = (process.mainModule !== module || !process.send);
|
||||
|
||||
this.listen();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user