This commit is contained in:
Yoshman29
2022-11-02 19:49:54 +01:00
parent 23045f3fba
commit 0ece5b1d8d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
996
997
+1 -1
View File
@@ -11,7 +11,7 @@ class BuildCounterMacro {
public static macro function getBuildNumber():haxe.macro.Expr.ExprOf<Int> {
#if !display
var buildNum:Int = Std.parseInt(File.getContent("buildnumber.txt"));
return macro $v{buildNum};
return macro $v{buildNum+1};
#else
return macro $v{0};
#end