Skip to content

Commit 520f919

Browse files
authored
Merge pull request YimMenu-Lua#89 from acidlabsdev/main
chore(codebase) code cleanup
2 parents 0166a64 + ee78e53 commit 520f919

21 files changed

Lines changed: 95 additions & 731 deletions

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable MD028 -->
12
<!-- markdownlint-disable MD033 -->
23
<!-- markdownlint-disable MD041 -->
34

@@ -66,6 +67,11 @@ A modular GTA V Lua framework focused on enhancing the player's experience throu
6667
- Type `!ls` or `!dump` to dump all available commands.
6768
- All default commands are prefixed with an exclamation mark `<!>`.
6869

70+
>[!Note]
71+
> Releases are scheduled for Sundays at 8AM.
72+
> If the game gets updated during the week and we push an update, you can manually update your local copy if you don't want to wait until the end of the week.
73+
> All you need is the [SSV2](./SSV2) folder.
74+
6975
>[!Important]
7076
> **Do not use this in YimMenuV2. It will not work.**
7177

SSV2/includes/classes/gta/atArray.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,15 @@ end
178178
---@return pointer
179179
function atArray:Get(i)
180180
self:Update()
181-
assert(math.isinrange(i, 1, self.m_size), "[atArray]: Index out of bounds!")
181+
assert(math.is_inrange(i, 1, self.m_size), "[atArray]: Index out of bounds!")
182182
return self.m_data[i]
183183
end
184184

185185
---@param i number
186186
---@param v pointer
187187
function atArray:Set(i, v)
188188
self:Update()
189-
assert(math.isinrange(i, 1, self.m_size), "[atArray]: Index out of bounds!")
189+
assert(math.is_inrange(i, 1, self.m_size), "[atArray]: Index out of bounds!")
190190
assert(IsInstance(v, "pointer"), "[atArray]: Attempt to set array value to non-pointer value!")
191191

192192
self.m_data[i] = v

0 commit comments

Comments
 (0)