Skip to content

Add null checks for duiObj and improve code style#24

Open
MaddHubOfficial wants to merge 2 commits intoPickleModifications:mainfrom
MaddHubOfficial:main
Open

Add null checks for duiObj and improve code style#24
MaddHubOfficial wants to merge 2 commits intoPickleModifications:mainfrom
MaddHubOfficial:main

Conversation

@MaddHubOfficial
Copy link

Added checks to ensure duiObj exists before calling related functions in cursor.lua, preventing potential runtime errors. Updated client/main.lua to use consistent semicolon-based Lua style and improved function parameter handling. Bumped fxmanifest version to v1.2.6.

Added checks to ensure duiObj exists before calling related functions in cursor.lua, preventing potential runtime errors. Updated client/main.lua to use consistent semicolon-based Lua style and improved function parameter handling. Bumped fxmanifest version to v1.2.6.
Standardized Lua syntax across client/dui.lua and client/tv.lua by adding semicolons, consistent indentation, and improved code formatting. No functional changes were made; this refactor improves code readability and maintainability.
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