Skip to content

Commit d64c800

Browse files
committed
Fix for script checking
1 parent eaef898 commit d64c800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/file/file-object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const FileObject = observer(({ obj }) => {
3636
const scriptArt = scriptSafe && script.art;
3737
const scriptPalettes = scriptSafe && script.palettes;
3838
const toggleDPLCs = () => (obj.dplcs.enabled = !obj.dplcs.enabled);
39-
const parseASM = (script.parseASM || parseASMInternal);
39+
const parseASM = ((scriptSafe && script.parseASM) || parseASMInternal);
4040

4141
function ioWrap(filePath, setError, e, cb) {
4242
setError();

0 commit comments

Comments
 (0)