diff --git a/leviathan.lua b/leviathan.lua --- a/leviathan.lua +++ b/leviathan.lua @@ -65,7 +65,7 @@ leviathan_airlock = darkroom { kh_vroom("В кают-компанию", function(s) if (have(item_suit)) then remove(item_suit, pl); - pl.has_light = false; + me().has_light = false; end; return "leviathan_wardroom"; end, 1); @@ -79,7 +79,7 @@ leviathan_airlock = darkroom { put(item_suit, pl); elseif (have(item_suit)) then remove(item_suit, pl); - pl.has_light = false; + me().has_light = false; end; return where(submarine_leviathan); end;