summaryrefslogtreecommitdiff
path: root/drive_entity.lua
diff options
context:
space:
mode:
Diffstat (limited to 'drive_entity.lua')
-rw-r--r--drive_entity.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/drive_entity.lua b/drive_entity.lua
index e2d2655..c2f88e6 100644
--- a/drive_entity.lua
+++ b/drive_entity.lua
@@ -999,7 +999,7 @@ core.register_node("celevator:machine",{
local oldmachinepos = carinfo.machinepos
if oldmachinepos then
local oldmachine = celevator.get_node(oldmachinepos)
- if oldmachine.name == "celevator:machine" then
+ if oldmachine.name == "celevator:machine" and not vector.equals(pos,oldmachinepos) then
return
end
end