Skip to content

Commit

Permalink
Allow ruby_shift_debug in JSON run config to be null
Browse files Browse the repository at this point in the history
This allows `Layout_Tabs` to be initialized, which in turn fixes indentation in dialogue and endings.
  • Loading branch information
DalekCraft2 authored and brliron committed Sep 24, 2024
1 parent 1ace1a2 commit 60a50bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thcrap_tsa/src/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,12 +771,12 @@ int layout_mod_init(HMODULE hMod)
(ret = json_object_get_eval_bool(
runconfig_json_get(),
"ruby_shift_debug",
&ruby_shift_debug, 0)) != JEVAL_SUCCESS
&ruby_shift_debug, JEVAL_DEFAULT)) != JEVAL_SUCCESS && ret != JEVAL_NULL_PTR
) {
return ret;
}
Layout_Tabs = json_array();
return ret;
return 0;
}

void layout_mod_detour(void)
Expand Down

0 comments on commit 60a50bd

Please sign in to comment.