Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

Commit

Permalink
update haxe to 4.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
APRO716 committed May 2, 2023
1 parent 3caa08f commit 2d62747
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.0
haxe-version: 4.3.1
# Runs a set of commands using the runners shell
- name: Install Haxelib
run: |
Expand Down
9 changes: 0 additions & 9 deletions UPDATE HAXE TO 4.3.0.txt

This file was deleted.

9 changes: 9 additions & 0 deletions UPDATE HAXE TO 4.3.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
UPDATE HAXE TO 4.3.1
2 changes: 1 addition & 1 deletion source/LoadingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class LoadingState extends MusicBeatState
}
#end

if (ClientPrefs.loadingScreen && !loaded)
if (ClientPrefs.loadingScreen && !loaded) //shit! it's actually work with #if NO_PRELOAD_ALL wow :O
return new LoadingState(target, stopMusic, directory);
if (stopMusic && FlxG.sound.music != null)
FlxG.sound.music.stop();
Expand Down
4 changes: 2 additions & 2 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ class PlayState extends MusicBeatState

// Lua shit
public static var instance:PlayState = null;
public var luaArray:Array<FunkinLua> = [];
#if LUA_ALLOWED
public var luaArray:Array<FunkinLua> = [];
private var luaDebugGroup:FlxTypedGroup<DebugLuaText>;
#end
public var introSoundsSuffix:String = '';
Expand Down Expand Up @@ -4666,13 +4666,13 @@ class PlayState extends MusicBeatState
}

override function destroy() {
#if LUA_ALLOWED
for (lua in luaArray) {
lua.call('onDestroy', []);
lua.stop();
}
luaArray = [];

#if LUA_ALLOWED
Lua_helper.callbacks.clear();
#end

Expand Down

0 comments on commit 2d62747

Please sign in to comment.