Skip to content

Commit

Permalink
fix: json editor mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
liana-p committed Aug 18, 2024
1 parent ff0e3df commit 87c0d02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/narrat/src/components/debug/debug-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ export default defineComponent({
useMain().clearErrors();
},
async setupJsonEditor() {
if (!PRODUCTION) {
const shouldUseEditor = useMain().options.debug;
if (shouldUseEditor) {
await addJsonEditor();
const vmStore = useVM();
const questsStore = useQuests();
Expand Down

0 comments on commit 87c0d02

Please sign in to comment.