dragon_death_must_finish_game = 1; ... if (dragon_death_must_finish_game == 1) then -- проверка потери дракона end ... if (наступил момент когда дракона можно терять) then dragon_death_must_finish_game = 0; end