Minor refactoring & tech tree fixes

This commit is contained in:
Anuken
2022-03-10 22:04:59 -05:00
parent 3847434c42
commit 96329b9b2e
6 changed files with 11 additions and 12 deletions

View File

@@ -471,7 +471,7 @@ public class ContentParser{
}
if(value.has("defaultController")){
unit.defaultController = u -> supply(resolve(value.getString("defaultController"), FlyingAI.class)).get();
unit.controller = u -> supply(resolve(value.getString("defaultController"), FlyingAI.class)).get();
value.remove("defaultController");
}