fixed a minor issue when selecting GUI/NOGUI
This commit is contained in:
parent
860a5f72b2
commit
7ab21083df
@ -73,7 +73,7 @@ public class Main {
|
||||
}
|
||||
|
||||
//MLG_GUI Choosing code...
|
||||
if (!java.awt.GraphicsEnvironment.isHeadless() || (!NOGUI)) {
|
||||
if ((!NOGUI) && (!java.awt.GraphicsEnvironment.isHeadless())) {
|
||||
GUI = true;
|
||||
if (var.testing) {
|
||||
Out.outD("MLG_GUI: This is a graphical enviroment.");
|
||||
|
Reference in New Issue
Block a user