From 2114780ae74de93440595c02999e6884cb8fa361 Mon Sep 17 00:00:00 2001 From: dandistine <34634876+dandistine@users.noreply.github.com> Date: Fri, 2 May 2025 10:26:57 -0500 Subject: [PATCH] Fix javascript strict equality --- olcPixelGameEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olcPixelGameEngine.h b/olcPixelGameEngine.h index b64b4136..7fab1566 100644 --- a/olcPixelGameEngine.h +++ b/olcPixelGameEngine.h @@ -7641,7 +7641,7 @@ namespace olc // set up resize observer and fullscreenchange event handler var olc_Init = function() { - if (Module.olc_AspectRatio == = undefined) + if (Module.olc_AspectRatio === undefined) { setTimeout(function() { Module.olc_Init(); }, 50); return;