Skip to content

Commit

Permalink
Fix release compile
Browse files Browse the repository at this point in the history
  • Loading branch information
piepie62 committed Oct 9, 2022
1 parent b870a65 commit 2be2a76
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/gemshapesplus/GemShapesPlusMod.as
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ package gemshapesplus
public function get COREMOD_VERSION():String { return GemShapesPlusCoreMod.VERSION; }

public static var logger:Logger;

CONFIG::debug
public static var bezel:Bezel;
CONFIG::debug
private var gameObjects:Object;

[Embed(source = "../../shapes/eight_petal.svg")] public static const g13:Class;
Expand Down Expand Up @@ -70,14 +67,15 @@ package gemshapesplus

public function bind(loader:Bezel, gameObjects:Object):void
{
bezel = loader;
this.gameObjects = gameObjects;

CONFIG::debug
{
bezel = loader;
bezel.addEventListener("ingameNewScene", this.onNewScene);
this.gameObjects = gameObjects;
}

if (bezel.mainLoader.gameClassFullyQualifiedName == "com.giab.games.gcfw.Main")
if (loader.mainLoader.gameClassFullyQualifiedName == "com.giab.games.gcfw.Main")
{
gemshapesplus.gcfw.ShapeAdder.addShapes(gameObjects.GV.gemBitmapCreator.mc);
}
Expand Down

0 comments on commit 2be2a76

Please sign in to comment.