summaryrefslogtreecommitdiff
path: root/util.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-01 07:31:48 -0300
committerAuke Kok <sofar+github@foo-projects.org>2017-03-14 21:57:01 -0700
commit196a6da26c7eaff3a6eab3dabe0ac27f6777681d (patch)
tree9c93a5f36f791cb1e306a1ff8262de892737a6dc /util.lua
parent5caacf3019e4c75603cb52df1f98e656304df541 (diff)
Remove unused args.
Diffstat (limited to 'util.lua')
-rw-r--r--util.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.lua b/util.lua
index e662e4c..ac15fab 100644
--- a/util.lua
+++ b/util.lua
@@ -22,9 +22,9 @@ function digilines.rotate_rules_left(rules)
local nr={}
for i, rule in ipairs(rules) do
nr[i]={}
- nr[i].z=-rules[i].x
- nr[i].x=rules[i].z
- nr[i].y=rules[i].y
+ nr[i].z=-rule.x
+ nr[i].x=rule.z
+ nr[i].y=rule.y
end
return nr
end