Don't show rotation hint on "non-success"

main
copygirl 1 year ago
parent ccc69b0697
commit 8bf8c64841
  1. 3
      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

Loading…
Cancel
Save