summaryrefslogtreecommitdiff
path: root/drive_entity.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2025-12-25 10:14:49 -0600
committercheapie <no-email-for-you@example.com>2025-12-25 10:14:49 -0600
commit1869387af0aeb86b7177ad1331ab48d4049ecc94 (patch)
tree05374317ffa9f4352aa5f20fb403e7b7b1b0e533 /drive_entity.lua
parentb42c738a2fb465cd905bb729dfe18d745919f997 (diff)
downloadcelevator-1869387af0aeb86b7177ad1331ab48d4049ecc94.tar
celevator-1869387af0aeb86b7177ad1331ab48d4049ecc94.tar.gz
celevator-1869387af0aeb86b7177ad1331ab48d4049ecc94.tar.bz2
celevator-1869387af0aeb86b7177ad1331ab48d4049ecc94.tar.xz
celevator-1869387af0aeb86b7177ad1331ab48d4049ecc94.zip
A few more mostly minor bug fixesHEADmain
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