Skip to content

Commit

Permalink
Foo's Client crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Slotterleet committed Apr 26, 2024
1 parent 4cc469e commit 7ac2fb5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/fos/core/FOSVars.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import arc.Core;
import arc.math.geom.Vec2;
import arc.struct.Seq;
import fos.content.FOSFluids;
import fos.controllers.*;
import fos.files.InternalFileTree;
import fos.graphics.FOSOreRenderer;
Expand All @@ -12,17 +11,10 @@
import mindustry.ai.Pathfinder;
import mindustry.content.TechTree;
import mindustry.entities.units.BuildPlan;
import mindustry.game.Objectives;
import mindustry.mod.Mods;

import java.util.*;

import static fos.content.FOSBlocks.*;
import static mindustry.Vars.headless;
import static mindustry.content.Items.scrap;
import static mindustry.content.TechTree.node;
import static mindustry.type.ItemStack.with;

public class FOSVars {
/** A research dialog that shows one of the two tech trees declared below. */
public static ResearchCoreDialog researchCoreDialog;
Expand Down Expand Up @@ -76,6 +68,8 @@ public class FOSVars {
public static FOSHints hints = new FOSHints();

public static void load() {
/*
TODO: probably scrapped.
if (!headless) researchCoreDialog = new ResearchCoreDialog();
mechTree = TechTree.nodeRoot("", mechResearchCore, true, () -> {
Expand All @@ -91,5 +85,6 @@ public static void load() {
});
TechTree.roots.remove(mechTree);
*/
}
}

0 comments on commit 7ac2fb5

Please sign in to comment.