Skip to content

Commit 58da255

Browse files
committed
Fix versioning and duped codes
1 parent 399cef5 commit 58da255

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

flixel/FlxG.hx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ import flixel.input.FlxGyroscope;
5252
#if FLX_POINTER_INPUT
5353
import flixel.input.FlxSwipe;
5454
#end
55-
5655
#if html5
5756
import flixel.system.frontEnds.HTML5FrontEnd;
5857
#end
@@ -104,7 +103,7 @@ class FlxG
104103
* The HaxeFlixel version, in semantic versioning syntax. Use `Std.string()`
105104
* on it to get a `String` formatted like this: `"HaxeFlixel MAJOR.MINOR.PATCH-COMMIT_SHA"`.
106105
*/
107-
public static final VERSION = new FlxVersion(6, 1, 1);
106+
public static final VERSION = new FlxVersion(6, 1, 2);
108107

109108
/**
110109
* Internal tracker for game object.

flixel/FlxGame.hx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,6 @@ class FlxGame extends Sprite
591591
// Destroy the old state (if there is an old state)
592592
if (_state != null)
593593
_state.destroy();
594-
595-
// sound datas too.
596-
#if FLX_SOUND_SYSTEM
597-
FlxG.sound.clearCache();
598-
#end
599594

600595
// sound datas too.
601596
#if FLX_SOUND_SYSTEM

0 commit comments

Comments
 (0)