mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 23:30:00 -04:00
add more flags
This commit is contained in:
parent
7adf76d37f
commit
4d1b7ef1b8
10 changed files with 85 additions and 57 deletions
|
@ -133,7 +133,7 @@ export class ScramjetClient {
|
|||
for (const module of modules) {
|
||||
if (!module.enabled || module.enabled())
|
||||
module.default(this, this.global);
|
||||
else module.disabled(this, this.global);
|
||||
else if (module.disabled) module.disabled(this, this.global);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue