diff options
| author | iamcheeseman <[email protected]> | 2026-03-11 15:14:16 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-11 15:14:16 -0400 |
| commit | b941dc08244dfe62a6fb0f951c234b0eff736c74 (patch) | |
| tree | e973d87ed0fb2e2d810ba1f5f657fc702d404742 /src/init.lua | |
| parent | 8121de73db8acfe5264fd6e0218dc5413ffac95d (diff) | |
Define `lg` and co as global
Convenience is nice.
Diffstat (limited to 'src/init.lua')
| -rw-r--r-- | src/init.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/init.lua b/src/init.lua index 4764a2a..c284b71 100644 --- a/src/init.lua +++ b/src/init.lua @@ -17,8 +17,9 @@ register_input("Up", {{"key", "up"}, {"key", "w"}}) register_input("Right_Click", {{"mouse", 1}}) register_input("Left_Click", {{"mouse", 2}}) -local lg = love.graphics -local lf = love.filesystem +lg = love.graphics +lf = love.filesystem +lmath = love.math local function load_dir(path) local files = lf.getDirectoryItems(path) |
