From c41f6509cf2758945fbc0810ff9d7ab0fc077228 Mon Sep 17 00:00:00 2001 From: _TarkFrench <39446667+Tarku@users.noreply.github.com> Date: Sat, 26 Oct 2019 19:34:17 +0200 Subject: [PATCH] French translation: fix some errors and ortho (#513) --- technic/machines/HV/nuclear_reactor.lua | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/technic/machines/HV/nuclear_reactor.lua b/technic/machines/HV/nuclear_reactor.lua index 3377710..231b6b3 100644 --- a/technic/machines/HV/nuclear_reactor.lua +++ b/technic/machines/HV/nuclear_reactor.lua @@ -257,7 +257,7 @@ local accum_badness = meta:get_int("structure_accumulated_badness") if badness == 0 then if accum_badness ~= 0 then - meta:set_int("structure_accumulated_badness", accum_badness - 4) + meta:set_int("structure_accumulated_badness", math.max(accum_badness - 4, 0)) siren_clear(pos, meta) end else -- Gitblit v1.8.0