Implemented public submodules
This commit is contained in:
@@ -168,7 +168,7 @@ public class Saves{
|
||||
threads.runGraphics(() -> {
|
||||
//Renderer fog needs to be written on graphics thread, but save() can run on logic thread
|
||||
//thus, runGraphics is required here
|
||||
renderer.fog().writeFog();
|
||||
renderer.fog.writeFog();
|
||||
|
||||
//save on the logic thread
|
||||
threads.run(() -> {
|
||||
|
||||
@@ -41,7 +41,7 @@ public abstract class UnlockableContent extends MappableContent{
|
||||
return true;
|
||||
}else{
|
||||
for(UnlockableContent cont : depend){
|
||||
if(!control.unlocks().isUnlocked(cont)){
|
||||
if(!control.unlocks.isUnlocked(cont)){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user