No more CLI habitfile
This commit is contained in:
@@ -25,11 +25,6 @@ class Main extends Sprite
|
|||||||
File.saveContent(habitFile, File.getContent("assets/default.txt"));
|
File.saveContent(habitFile, File.getContent("assets/default.txt"));
|
||||||
}
|
}
|
||||||
|
|
||||||
var habitFile = if (Sys.args().length > 0 && Sys.args()[0].length > 0) {
|
|
||||||
Sys.args()[0];
|
|
||||||
} else {
|
|
||||||
habitFile;
|
|
||||||
};
|
|
||||||
function reloadModel(_) {
|
function reloadModel(_) {
|
||||||
if (t.draggingSprite == null && !t.tempWindowIsShown()) {
|
if (t.draggingSprite == null && !t.tempWindowIsShown()) {
|
||||||
var showLowerPriority = t.model.showLowerPriority;
|
var showLowerPriority = t.model.showLowerPriority;
|
||||||
|
|||||||
Reference in New Issue
Block a user