Created
January 1, 2025 16:47
-
-
Save cholf5/fecb0e2e6ce82d0e606bf80dd469077c to your computer and use it in GitHub Desktop.
Skip the steam-related functions in the love2d game by replacing the implementation of luasteam with an empty function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- steam = require 'luasteam' | |
| steam = setmetatable({ | |
| init = function() end, | |
| shutdown = function() end, | |
| runCallbacks = function() end, | |
| }, { | |
| __index = function(t, k) | |
| t[k] = setmetatable({}, { | |
| __index = function(t1, k1) | |
| t1[k1] = function() end | |
| return t1[k1] | |
| end, | |
| }) | |
| return t[k] | |
| end | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment