From 4d5d886dda929eb5b0c80aabc9ee2bae48a5430f Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Mon, 4 Jul 2022 01:28:25 -0300 Subject: [PATCH] fixed pressure start sound --- engine_management.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/engine_management.lua b/engine_management.lua index 5b5f13b..8c5175a 100644 --- a/engine_management.lua +++ b/engine_management.lua @@ -50,7 +50,6 @@ local function boiler_step(self, accel) self._power_lever = 0 --if self.sound_handle_pistons then minetest.sound_stop(self.sound_handle_pistons) end self.object:set_animation_frame_speed(0) - if self.sound_handle_pistons then minetest.sound_stop(self.sound_handle_pistons) end end self._boiler_pressure = self._boiler_pressure - consumed_pressure