Update Kha/Sources/kha/Scheduler.hx

This commit is contained in:
LeenkxTeam 2025-05-13 19:41:30 +00:00
parent f00cef2e21
commit 601860b242

View File

@ -97,7 +97,7 @@ class Scheduler {
public static function start(restartTimers: Bool = false): Void {
vsync = Window.get(0).vSynced;
#if (kha_html5 || kha_debug_html5)
#if !(kha_html5 || kha_debug_html5)
var hz = Display.primary != null ? Display.primary.frequency : 60;
if (hz >= 57 && hz <= 63)
hz = 60;