Skip to content

Optimized the hook that allows adding vehicles to the Glide vehicle l…#301

Merged
StyledStrike merged 3 commits into
StyledStrike:mainfrom
Vitroze:register_optimization
Jun 7, 2026
Merged

Optimized the hook that allows adding vehicles to the Glide vehicle l…#301
StyledStrike merged 3 commits into
StyledStrike:mainfrom
Vitroze:register_optimization

Conversation

@Vitroze

@Vitroze Vitroze commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Hello,
I've optimized the InitPostEntity hook for list GlideVehicles.

I've also replaced scripted_ents with the Glide list in the spawnmenu.

I haven't implemented this feature because I was unsure of its relevance. Is it better to detect SF directly in PreRegisterSENT using file.Find only once (outside the hook)?

In case of doubt, I left it in InitPostEntity.

@Vitroze

Vitroze commented Jun 6, 2026

Copy link
Copy Markdown
Contributor Author

Problem style : #306

@StyledStrike StyledStrike added the enhancement New feature or request label Jun 7, 2026
@StyledStrike StyledStrike merged commit 71b72d6 into StyledStrike:main Jun 7, 2026
1 check failed
StyledStrike added a commit that referenced this pull request Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants