summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drive_entity.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/drive_entity.lua b/drive_entity.lua
index 4d01790..8bacf59 100644
--- a/drive_entity.lua
+++ b/drive_entity.lua
@@ -458,6 +458,7 @@ function celevator.drives.entity.step(dtime)
sound = vel ~= 0
meta:set_string("vel",tostring(vel))
elseif state == "fakerunning" then
+ celevator.drives.entity.carsoundstate[hash] = "stopped"
local apos = tonumber(meta:get_string("apos")) or 0
local sheaverefs = celevator.drives.entity.sheaverefs[carid]
if sheaverefs and sheaverefs[1] then