Fix rotor bug

master
Joachim Stolberg 2021-05-18 21:32:45 +02:00
parent 85965d75ef
commit d1fb7cfdac
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ local Face2Dir = {[0]=
}
local function pos_and_yaw(pos, param2)
local dir = Face2Dir[param2]
local dir = Face2Dir[param2] or 0
local yaw = minetest.dir_to_yaw(dir)
dir = vector.multiply(dir, 1.1)
pos = vector.add(pos, dir)