Add "Exiting to reload mods." logger message (#6662)

To allow for the game to be automatically restarted
This commit is contained in:
BalaM314 2022-03-24 20:12:44 +05:30 committed by GitHub
parent 5271edf9eb
commit 8ec2e40610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,7 +323,10 @@ public class ModsDialog extends BaseDialog{
}
private void reload(){
ui.showInfoOnHidden("@mods.reloadexit", () -> Core.app.exit());
ui.showInfoOnHidden("@mods.reloadexit", () -> {
Log.info("Exiting to reload mods.");
Core.app.exit();
});
}
private void showMod(LoadedMod mod){