diff --git a/state.lua b/state.lua index d4ebb02..04f9e5e 100755 --- a/state.lua +++ b/state.lua @@ -69,6 +69,9 @@ local function calculate_rotating_state(player, data) state.facedir = fix_rotatable_facedir(state.node, state.facedir) state.success = state.facedir and state.facedir ~= state.node.param2 + -- TODO: Until we have a way to display "rotation non-success", don't show rotation hint at all. + if not state.success then return nil end + return state end