From 5326f0e2f474bfb911c18edb5b06d163a96850ee Mon Sep 17 00:00:00 2001 From: Hugo H Date: Thu, 25 Dec 2025 20:53:37 +0000 Subject: [PATCH] Added delta time variable to library --- screen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/screen.js b/screen.js index 071fb98..3744d88 100644 --- a/screen.js +++ b/screen.js @@ -165,6 +165,7 @@ var $builtinmodule = function (name) { Object.defineProperty(mod, 'T', { get: function () { return toPy(lc_instance ? lc_instance.T : (window.T || 0)); } }); Object.defineProperty(mod, 'W', { get: function () { return toPy(lc_instance ? lc_instance.W : (window.W || 0)); } }); Object.defineProperty(mod, 'H', { get: function () { return toPy(lc_instance ? lc_instance.H : (window.H || 0)); } }); + Object.defineProperty(mod, 'DT', { get: function () { return toPy(lc_instance ? lc_instance.dt : (window.dt || 0)); } }); Object.defineProperty(mod, 'MX', { get: function () { let mx = lc_instance ? lc_instance.MX : (window.MX || -1);