No traces for snapshot builds

This commit is contained in:
luboslenco
2020-11-05 12:16:14 +01:00
parent 5db49b9091
commit 9b0e2f7468
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ class Log {
if (arm.ui.UIStatus.inst != null) {
arm.ui.UIStatus.inst.statusHandle.redraws = 2;
}
trace(s);
consoleTrace(s);
}
public static function error(s: String) {
@@ -28,11 +28,11 @@ class Log {
if (arm.ui.UIStatus.inst != null) {
arm.ui.UIStatus.inst.statusHandle.redraws = 2;
}
trace(s);
consoleTrace(s);
}
public static function trace(s: String) {
trace(s);
consoleTrace(s);
}
public static function init() {
+1
View File
@@ -91,6 +91,7 @@ if (vr) {
if (snapshot) {
project.addDefine("arm_snapshot");
project.addDefine("arm_image_embed");
project.addParameter("--no-traces");
}
project.addAssets("Assets/readme/readme.txt", { notinlist: true, destination: "{name}" });