aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/array.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/array.lua b/util/array.lua
index cbb051d3..fdf3c9a3 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -105,6 +105,7 @@ end
function array_methods:push(x)
table.insert(self, x);
+ return self;
end
function array_methods:pop(x)