From bc035f94900a13689fe03eb6ed1f90da70cca38f Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 24 Oct 2020 15:55:20 -0400 Subject: [PATCH] Fixed #3095 --- core/src/mindustry/core/Control.java | 1 + core/src/mindustry/entities/GroupDefs.java | 1 + 2 files changed, 2 insertions(+) diff --git a/core/src/mindustry/core/Control.java b/core/src/mindustry/core/Control.java index 3d904c1826..4e01a36734 100644 --- a/core/src/mindustry/core/Control.java +++ b/core/src/mindustry/core/Control.java @@ -284,6 +284,7 @@ public class Control implements ApplicationListener, Loadable{ //kill all units, since they should be dead anwyay Groups.unit.clear(); + Groups.fire.clear(); Tile spawn = world.tile(sector.info.spawnPosition); Schematics.placeLaunchLoadout(spawn.x, spawn.y); diff --git a/core/src/mindustry/entities/GroupDefs.java b/core/src/mindustry/entities/GroupDefs.java index 60bdbb5fd3..3ddef67d65 100644 --- a/core/src/mindustry/entities/GroupDefs.java +++ b/core/src/mindustry/entities/GroupDefs.java @@ -11,5 +11,6 @@ class GroupDefs{ @GroupDef(value = Buildingc.class) G build; @GroupDef(value = Syncc.class, mapping = true) G sync; @GroupDef(value = Drawc.class) G draw; + @GroupDef(value = Firec.class) G fire; @GroupDef(value = WeatherStatec.class) G weather; }