mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
Crash fix
This commit is contained in:
parent
7089fae0d5
commit
3414026828
@ -60,7 +60,9 @@ public class Maps{
|
||||
maps.sort();
|
||||
});
|
||||
|
||||
((CustomLoader)Core.assets.getLoader(Content.class)).loaded = this::createAllPreviews;
|
||||
if(Core.assets != null){
|
||||
((CustomLoader)Core.assets.getLoader(Content.class)).loaded = this::createAllPreviews;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user