From 2f2dc01c6ba7335c4ed38712b2a52a7a28bff286 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 5 Jun 2021 09:49:00 -0400 Subject: [PATCH] Heal player cores on start --- core/src/mindustry/core/Logic.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/mindustry/core/Logic.java b/core/src/mindustry/core/Logic.java index cd9c86810b..981fa4a506 100644 --- a/core/src/mindustry/core/Logic.java +++ b/core/src/mindustry/core/Logic.java @@ -184,6 +184,11 @@ public class Logic implements ApplicationListener{ } } } + + //heal player cores on start - fixes any potential core health increases + for(var entity : state.rules.defaultTeam.cores()){ + entity.heal(); + } } public void reset(){