Skip to content

Commit

Permalink
Fix snapshot generation
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Nov 30, 2023
1 parent 075b440 commit f121a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions base/Sources/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import arm.Res;

class Main {

// @:keep static var snapshotHelper = js.Syntax.code("globalThis").Krom = {};
public static var sha = BuildMacros.sha().substr(1, 7);
public static var date = BuildMacros.date().split(" ")[0];
public static var tasks: Int;
Expand Down
2 changes: 1 addition & 1 deletion base/Sources/arm/Project.hx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Project {
#if is_lab
public static var materialData: iron.data.MaterialData = null; ////
public static var materials: Array<Dynamic> = null; ////
public static var nodes = new Nodes();
public static var nodes: Nodes;
public static var canvas: TNodeCanvas;
public static var defaultCanvas: Blob = null;
#end
Expand Down

0 comments on commit f121a20

Please sign in to comment.