Skip to content

Commit

Permalink
effectLimits -> miscLimits
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Mar 27, 2021
1 parent f14ce6d commit 7228f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ There is an event for compiler option changes on Runtime and VirtualMachine: COM
Similar to setCompilerOption. This lets you control some behavior of the runtime.

- maxClones (number; default 300) - controls the clone limit; Infinity to disable
- effectLimits (boolean; default true) - controls whether effect limits should be applied (pitch, pan)
- miscLimits (boolean; default true) - controls various limits such as pitch, pan, etc.
- fencing (number; default true) - controls whether sprite fencing should be enabled

There is an event for runtime option changes on Runtime and VirtualMachine: RUNTIME_OPTIONS_CHANGED (called with current options)
Expand Down
2 changes: 1 addition & 1 deletion src/engine/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ class Runtime extends EventEmitter {

this.runtimeOptions = {
maxClones: Runtime.MAX_CLONES,
effectLimits: true,
miscLimits: true,
fencing: true
};

Expand Down

0 comments on commit 7228f5c

Please sign in to comment.