Skip to content

fix(client/modules/points): Small improvements.#1443

Merged
Mycroft-Studios merged 2 commits into
esx-framework:devfrom
Kenshiin13:points-module
Nov 9, 2024
Merged

fix(client/modules/points): Small improvements.#1443
Mycroft-Studios merged 2 commits into
esx-framework:devfrom
Kenshiin13:points-module

Conversation

@Kenshiin13

@Kenshiin13 Kenshiin13 commented Nov 9, 2024

Copy link
Copy Markdown
Contributor

Summary

This PR includes two key updates to the points module:

  • Safely iterates over the sparse points table in StartPointsLoop by using pairs instead of #points, ensuring that nil entries are properly skipped during iteration.
  • Fixes a typo in the ESX.CreatePointIntenal function name, correcting it to ESX.CreatePointInternal for consistency with the correct method name.

@Kenshiin13 Kenshiin13 marked this pull request as ready for review November 9, 2024 08:44
@Mycroft-Studios Mycroft-Studios merged commit b5220b9 into esx-framework:dev Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants