Disallow screwdriver rotation of end portal frame

This commit is contained in:
Wuzzy 2017-12-09 15:01:41 +01:00
parent 5f4d73143e
commit d2a7bd1a53

@ -275,9 +275,8 @@ minetest.register_abm({
local rotate_frame, rotate_frame_eye local rotate_frame, rotate_frame_eye
if minetest.get_modpath("screwdriver") then if minetest.get_modpath("screwdriver") then
rotate_frame = screwdriver.rotate_simple -- Intentionally not rotatable
-- TODO: Make the other node rotatable as well. rotate_frame = false
-- Problem: We need to capture edge cases and update the portal accordingly.
rotate_frame_eye = false rotate_frame_eye = false
end end