Update init.lua

add /loadalign command - command to allow loading of a schem file which is aligned to player forward direction (and some helper commands)
This commit is contained in:
dgm3333 2014-05-26 21:11:35 +01:00
parent daa7234c69
commit 0720ec2b77
1 changed files with 1 additions and 1 deletions

View File

@ -1028,7 +1028,7 @@ minetest.register_chatcommand("/loadalign", {
-- if set use the global posOffset (as this enables offset to be set once and reused)
if posOffset == nil then
if laPosOffset == nil then
posOffx, posOffy, posOffz = 0, 0, 0
else
posOffx, posOffy, posOffz = laPosOffset.x, laPosOffset.y, laPosOffset.z