summaryrefslogtreecommitdiff
path: root/common.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2021-02-05 18:03:54 +0000
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2021-02-05 18:03:54 +0000
commitf0ef43823cb198a3f426d7d1db88d42f5079fbbd (patch)
tree27f0ebea3b8ac8f36eea8fb58d38947fab81e31d /common.lua
parent2294a235826810864c1dbae7db644dfbc4722e6c (diff)
parent17a602a5a1d3b0362152222dc62c102c399ec4a4 (diff)
downloadpipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar
pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar.gz
pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar.bz2
pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.tar.xz
pipeworks-f0ef43823cb198a3f426d7d1db88d42f5079fbbd.zip
Merge branch 'm_unused_loop_vars' into 'master'
Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations See merge request VanessaE/pipeworks!34
Diffstat (limited to 'common.lua')
-rw-r--r--common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.lua b/common.lua
index a2a8cea..120a32f 100644
--- a/common.lua
+++ b/common.lua
@@ -114,7 +114,7 @@ local fs_helpers = {}
pipeworks.fs_helpers = fs_helpers
function fs_helpers.on_receive_fields(pos, fields)
local meta = minetest.get_meta(pos)
- for field, value in pairs(fields) do
+ for field in pairs(fields) do
if pipeworks.string_startswith(field, "fs_helpers_cycling:") then
local l = field:split(":")
local new_value = tonumber(l[2])