Fixed variable names, started thread

Forgot to start the actual delayed thread.
This commit is contained in:
CivilCorvid committed 2025-01-17 22:01:49 -06:00
1 parent aeacf721f4
commit 2e9577caa6
1 file changed
+5 -3
+5 -3
View File
@@ -110,10 +110,12 @@ class VRChatOSC:
continue
# If the delay setting is enabled, make a new thread and delay the outputs.
delay_enable = self.config.general.osc_delay_enable
delay_seconds = self.config.general.osc_delay_seconds
delay_enable = self.config.gui_osc_delay_enable
delay_seconds = self.config.gui_osc_delay_seconds
if delay_enable:
threading.Thread(target=delay_output_osc, args=(cam_info.output, delay_seconds, self))
#print(delay_enable)
#print(delay_seconds)
threading.Thread(target=delay_output_osc, args=(cam_info.output, delay_seconds, self)).start()
else:
output_osc(cam_info.output, self)