mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-07 14:01:51 +07:00
Implemented legacy (V5) research loading
This commit is contained in:
parent
bbc8c05f93
commit
7612a22480
@ -27,6 +27,13 @@ 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(state.isCampaign()){
|
||||
@ -273,10 +280,6 @@ public class Universe{
|
||||
private void load(){
|
||||
seconds = Core.settings.getInt("utimei");
|
||||
turn = Core.settings.getInt("turn");
|
||||
|
||||
if(Core.settings.has("unlocks")){
|
||||
LegacyIO.readResearch();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -130,6 +130,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
u.clearUnlock();
|
||||
}
|
||||
});
|
||||
settings.remove("unlocks");
|
||||
});
|
||||
}).marginLeft(4);
|
||||
|
||||
|
9
fastlane/metadata/android/en-US/changelogs/29716.txt
Normal file
9
fastlane/metadata/android/en-US/changelogs/29716.txt
Normal file
@ -0,0 +1,9 @@
|
||||
Yes, it's another one. Get ready for more rapid-fire releases.
|
||||
|
||||
- Fixed sound not working [Android]
|
||||
- Fixed sound being muffled at start of game
|
||||
- Fixed continuous lasers setting shooters on fire
|
||||
- Fixed deconstruction area not being queued [Mobile]
|
||||
- Limited logic symbols to 40 characters
|
||||
- Added "Launching From" info to sector launch dialog
|
||||
- Added final campaign sector (untested!)
|
Loading…
Reference in New Issue
Block a user