From 6f845ed4b451097d851d2ccf575a97424a19f223 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 2 May 2020 11:24:14 -0400 Subject: [PATCH] Fix unnecessary break in LSNS. Closes #713 --- src/simulation/elements/LSNS.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/simulation/elements/LSNS.cpp b/src/simulation/elements/LSNS.cpp index e8e2cb1ec..9501023fa 100644 --- a/src/simulation/elements/LSNS.cpp +++ b/src/simulation/elements/LSNS.cpp @@ -142,13 +142,10 @@ static int update(UPDATE_FUNC_ARGS) } } // .life deserialization. - if (doDeserialization) + else if (doDeserialization) { if (TYP(r) != PT_FILT) - { parts[ID(r)].life = life - 0x10000000; - break; - } } }