mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Fix old array getter operations (#3230)
This commit is contained in:
parent
1c14312b14
commit
93b7900481
@ -113,7 +113,7 @@ registerCallback( "postinit", function()
|
|||||||
__e2setcost(5)
|
__e2setcost(5)
|
||||||
|
|
||||||
registerFunction( name, "r:n", id, function(self, args)
|
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 )
|
return getter( self, array, index )
|
||||||
end, nil, nil, { legacy = false, deprecated = true })
|
end, nil, nil, { legacy = false, deprecated = true })
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user