Skip to content

Instantly share code, notes, and snippets.

@cholf5
Created January 1, 2025 16:47
Show Gist options
  • Select an option

  • Save cholf5/fecb0e2e6ce82d0e606bf80dd469077c to your computer and use it in GitHub Desktop.

Select an option

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.
-- 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