forked from VoxeLibre/VoxeLibre
[mcl_core] fix function codestyle in nodes_climb.lua
This commit is contained in:
parent
211b078d3a
commit
5b43303873
|
@ -1,7 +1,7 @@
|
||||||
-- Climbable nodes
|
-- Climbable nodes
|
||||||
local S = minetest.get_translator("mcl_core")
|
local S = minetest.get_translator("mcl_core")
|
||||||
|
|
||||||
local rotate_climbable = function(pos, node, user, mode)
|
local function rotate_climbable(pos, node, user, mode)
|
||||||
if mode == screwdriver.ROTATE_FACE then
|
if mode == screwdriver.ROTATE_FACE then
|
||||||
local r = screwdriver.rotate.wallmounted(pos, node, mode)
|
local r = screwdriver.rotate.wallmounted(pos, node, mode)
|
||||||
node.param2 = r
|
node.param2 = r
|
||||||
|
|
Loading…
Reference in New Issue