File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
howlongtobeatpy/howlongtobeatpy Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,13 @@ def parse_json_element(self, input_game_element):
8989 current_entry .complexity_lvl_sp = bool (input_game_element .get ("comp_lvl_sp" , 0 ))
9090 current_entry .complexity_lvl_co = bool (input_game_element .get ("comp_lvl_co" , 0 ))
9191 current_entry .complexity_lvl_mp = bool (input_game_element .get ("comp_lvl_mp" , 0 ))
92+ # Auto-Nullify values based on the flags
9293 if self .auto_filter_times :
93- # Auto-Nullify values based on the flags
94+ if current_entry .complexity_lvl_sp is False :
95+ current_entry .main_story = None
96+ current_entry .main_extra = None
97+ current_entry .completionist = None
98+ current_entry .all_styles = None
9499 if current_entry .complexity_lvl_co is False :
95100 current_entry .coop_time = None
96101 if current_entry .complexity_lvl_mp is False :
You can’t perform that action at this time.
0 commit comments