Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.lua #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

galactic2005
Copy link

  • Reworked accessControls. This should make it easier to add remapping support later down the line if you want, alongside being generally easier to modify.
  • In handleUpdate_BoxOpenClose, I moved all the box + delta stuff into its own local function and placed that function into the places where it's called. I also needed to make boxA a local variable for this.
  • Removed whitespace and replaced the instance of string.len with # (which mean the same thing, but are nicer to read.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant