mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-11 22:31:52 +09:00
circular array is fixed and tested
This commit is contained in:
@@ -53,7 +53,7 @@ public class AppLoader implements ApplicationListener {
|
||||
/**
|
||||
* when FALSE, some assertion and print code will not execute
|
||||
*/
|
||||
public static final boolean IS_DEVELOPMENT_BUILD = true;
|
||||
public static boolean IS_DEVELOPMENT_BUILD = false;
|
||||
|
||||
|
||||
/**
|
||||
@@ -169,6 +169,10 @@ public class AppLoader implements ApplicationListener {
|
||||
appConfig.title = GAME_NAME;
|
||||
appConfig.forceExit = false;
|
||||
|
||||
if (args.length == 1 && args[0].equals("isdev=true")) {
|
||||
IS_DEVELOPMENT_BUILD = true;
|
||||
}
|
||||
|
||||
new LwjglApplication(new AppLoader(appConfig), appConfig);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user