Skip to content

Commit

Permalink
Fix old array getter operations (#3230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denneisk authored Dec 25, 2024
1 parent 1c14312 commit 93b7900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_expression2/core/array.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ registerCallback( "postinit", function()
__e2setcost(5)

registerFunction( name, "r:n", id, function(self, args)
local array, index = args[2], args[3]
local array, index = args[1], args[2]
return getter( self, array, index )
end, nil, nil, { legacy = false, deprecated = true })

Expand Down

0 comments on commit 93b7900

Please sign in to comment.