mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 06:51:30 -08:00
Cleanup
This commit is contained in:
parent
542555d721
commit
047652154e
2 changed files with 12 additions and 7 deletions
|
|
@ -119,8 +119,12 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
|
|||
@Override
|
||||
public void update(){
|
||||
if(!finished){
|
||||
loader.draw();
|
||||
if(loader != null){
|
||||
loader.draw();
|
||||
}
|
||||
if(assets.update(1000 / loadingFPS)){
|
||||
loader.dispose();
|
||||
loader = null;
|
||||
Log.info("Total time to load: @", Time.timeSinceMillis(beginTime));
|
||||
for(ApplicationListener listener : modules){
|
||||
listener.init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue