From 93b7900481b9c2f64cac7c445a22b5e9a9aaf055 Mon Sep 17 00:00:00 2001 From: Denneisk <20892685+Denneisk@users.noreply.github.com> Date: Wed, 25 Dec 2024 21:48:03 +0000 Subject: [PATCH] Fix old array getter operations (#3230) --- lua/entities/gmod_wire_expression2/core/array.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/array.lua b/lua/entities/gmod_wire_expression2/core/array.lua index ae7f42ca85..ae840daccd 100644 --- a/lua/entities/gmod_wire_expression2/core/array.lua +++ b/lua/entities/gmod_wire_expression2/core/array.lua @@ -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 })