From 34c9ca639465434e0be458948c8ec78b8af94663 Mon Sep 17 00:00:00 2001 From: Raltyro <78720179+Raltyro@users.noreply.github.com> Date: Sun, 26 Feb 2023 12:54:27 +0700 Subject: [PATCH] Hotfix Update #2 --- .../{nightly-builds.yaml => build-nightly.yaml} | 4 ++-- .../{release-builds.yaml => build-release.yaml} | 4 ++-- source/options/AdvancedSubstate.hx | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) rename .github/workflows/{nightly-builds.yaml => build-nightly.yaml} (98%) rename .github/workflows/{release-builds.yaml => build-release.yaml} (97%) diff --git a/.github/workflows/nightly-builds.yaml b/.github/workflows/build-nightly.yaml similarity index 98% rename from .github/workflows/nightly-builds.yaml rename to .github/workflows/build-nightly.yaml index 7508f469fa8..9fb15aaee0f 100644 --- a/.github/workflows/nightly-builds.yaml +++ b/.github/workflows/build-nightly.yaml @@ -70,11 +70,11 @@ jobs: - name: Compile (32-bit) if: ${{ matrix.build == '32bit' }} - run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D 32 + run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D HXCPP_M32 -32 - name: Compile (64-bit) if: ${{ matrix.build != '32bit' }} - run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D 64 + run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -64 - name: Uploading artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release-builds.yaml b/.github/workflows/build-release.yaml similarity index 97% rename from .github/workflows/release-builds.yaml rename to .github/workflows/build-release.yaml index f67b05e6ee7..5519db12b98 100644 --- a/.github/workflows/release-builds.yaml +++ b/.github/workflows/build-release.yaml @@ -72,11 +72,11 @@ jobs: - name: Compile (32-bit) if: ${{ matrix.build == '32bit' }} - run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D officialBuild -D 32 + run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D officialBuild -D HXCPP_M32 -32 - name: Compile (64-bit) if: ${{ matrix.build != '32bit' }} - run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D officialBuild -D 64 + run: haxelib run openfl build ${{ matrix.compile }} -${{ matrix.build }} -D officialBuild -64 - name: Uploading artifact uses: actions/upload-artifact@v3 diff --git a/source/options/AdvancedSubstate.hx b/source/options/AdvancedSubstate.hx index 46b944f3f61..4cebc7a1b61 100644 --- a/source/options/AdvancedSubstate.hx +++ b/source/options/AdvancedSubstate.hx @@ -13,7 +13,7 @@ class AdvancedSubstate extends BaseOptionsMenu var blackBG:FlxSprite; var coolText:Alphabet; var timer:FlxTimer; - + public function new() { title = 'Advanced'; @@ -23,13 +23,13 @@ class AdvancedSubstate extends BaseOptionsMenu blackBG.setGraphicSize(FlxG.width, FlxG.height); blackBG.updateHitbox(); blackBG.alpha = 0; - - coolText = new Alphabet(FlxG.width / 2, (FlxG.height / 2) - 35, "", true); + + coolText = new Alphabet(FlxG.width / 2, (FlxG.height / 2) - 25, "", true); coolText.alignment = CENTERED; coolText.alpha = 0; - + timer = new FlxTimer(); - + var option:Option = new Option('Hardware Caching', 'If checked, the game will use GPU to store images for to maintain MEM usage. ' + 'Restart the game for to apply changes.' +