# HG changeset patch # User Silverwing # Date 2019-06-13 18:38:58 # Node ID 804089f0ffb8b710d9e4099632ee4ef7f7a82373 # Parent d19e16f1a89e37ae4fb71b730f8cfba595056edc Properly stop timer when jack is talked to diff --git a/wright.lua b/wright.lua --- a/wright.lua +++ b/wright.lua @@ -56,6 +56,7 @@ wright_dlg = dlg { if (submarine_leviathan.power_on and submarine_leviathan.airpump and submarine_leviathan.battery and submarine_leviathan.air_level < 432000) then submarine_leviathan.air_level = 432000; lifeoff(s); + timer:stop(); end; if (submarine_leviathan.air_level > 400000 and submarine_leviathan.circuit_breaks == 0 and submarine_leviathan.power_on) then if char_wright_home.known_leviathan then