fix not writing frame
@@ -280,10 +280,10 @@ def draw_frame(shared, lock, beatmap, skin, skin_path, replay_event, resultinfo,
print("setup done")
while frame_info.osr_index < end_index: # len(replay_event) - 3:
- render_draw(beatmap, component, cursor_event, frame_info, img, np_img, pbuffer,
+ status = render_draw(beatmap, component, cursor_event, frame_info, img, np_img, pbuffer,
preempt_followpoint, replay_event, start_index, time_preempt, updater)
- if img.size[0] != 1:
+ if status:
lock.value = 1
while lock.value == 1:
