Skip to content

Commit

Permalink
fix orientation whether or not queues are present
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxionary committed Jul 23, 2023
1 parent d1e0e37 commit 965369a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions entities/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ else
nodenames = { "group:smartshop" },
run_at_every_load = true,
action = function(pos, node)
-- make sure that shops w/ weird param2 are normal before creating entities
if node.param2 >= 4 then
node.param2 = node.param2 % 4
minetest.swap_node(pos, node)
end

local shop = api.get_object(pos)
api.update_entities(shop)
end,
Expand Down

0 comments on commit 965369a

Please sign in to comment.