Skip to content

Conversation

@StarLight-Oliver
Copy link
Contributor

This is for the most part just code visibility changes.
Making it easier for people to read the code.
However there are also some very minor optimizations within the code as well.
Along with some unused variables also getting purged.
And a variable name that could be considered offensive was also changed.

I have not been able to test this code.

- Removed Indents from file
- Negated if statements and added returns
- Removed stupid found logic in animations
- Moved SetIK up in run order its not affected by anims
- Removed multiple string lowers
- Removed unused variable y
- Added Check for ik to only disable if valid
- Localised double global table index
- Removed adjustSize duplicate code
- Removed Action text being duplicated
- Renamed fagLord variable to isIconUpdating
- Removed unneeded inline comments
- Cleaned up if mode fallback (could be cleaned up better with enums and lookup)
- Removed multiple calls to GetWide
- Removed unused variables that caused a shadow binding
- Removed code duplication
- Removed unneeded code indent
- Negated ifs in hook to remove indents
- Removed some trailing spaces in cl_dev_icon
- Added a missing return
- Removed unneeded indents
- Removed unused variable
- Added changes to sequence
@TovarischPootis
Copy link
Contributor

2 things

  1. Please test the code and verify that there are no issues
  2. Make a new pull request to the 1.2.3-wip branch, for consistency

@StarLight-Oliver
Copy link
Contributor Author

I don't understand the second point.
Have I not made a pull request to the 1.2.3-wip branch?

@TovarischPootis
Copy link
Contributor

I am a blind troglodyte. My bad.

@TovarischPootis TovarischPootis merged commit 33adae3 into NutScript:1.2.3-wip Sep 1, 2022
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.

2 participants