Added prompt for loading legacy research data

This commit is contained in:
Anuken
2020-11-26 10:22:01 -05:00
parent e1ddf115e0
commit 465219540c
8 changed files with 19 additions and 15 deletions

View File

@@ -6,7 +6,6 @@ import arc.struct.*;
import arc.util.*;
import mindustry.content.*;
import mindustry.game.EventType.*;
import mindustry.io.legacy.*;
import mindustry.maps.*;
import mindustry.type.*;
import mindustry.world.blocks.storage.*;
@@ -27,13 +26,6 @@ public class Universe{
public Universe(){
load();
//load legacy research
Events.on(ClientLoadEvent.class, e -> {
if(Core.settings.has("unlocks")){
LegacyIO.readResearch();
}
});
//update base coverage on capture
Events.on(SectorCaptureEvent.class, e -> {
if(!net.client() && state.isCampaign()){