Closed itsoutchy-projects closed 1 year ago
This is not a Haxe issue, please check with HaxeFlixel community (on their repository https://github.com/HaxeFlixel/flixel/ or discord server https://discordapp.com/invite/rqEBAgF, channel #flixel)
Or even on https://github.com/FunkinCrew/Funkin
I get a null object reference exception when I hover over an FlxButton, a crash handler tells me that it's due to super.Update()'s elapsed parameter is null.
Code: `package;
if desktop
import Discord.DiscordClient;
end
import flixel.FlxG; import flixel.FlxObject; import flixel.FlxSprite; import flixel.FlxCamera; import flixel.addons.transition.FlxTransitionableState; import flixel.effects.FlxFlicker; import flixel.graphics.frames.FlxAtlasFrames; import flixel.group.FlxGroup.FlxTypedGroup; import flixel.text.FlxText; import flixel.math.FlxMath; import flixel.tweens.FlxEase; import flixel.tweens.FlxTween; import flixel.util.FlxColor; import lime.app.Application; import Achievements; import editors.MasterEditorMenu; import flixel.input.keyboard.FlxKey; import flixel.ui.FlxButton; import flixel.math.FlxPoint;
using StringTools;
class MainMenuState extends MusicBeatState { public static var psychEngineVersion:String = '0.6.2'; //This is also used for Discord RPC public static var curSelected:Int = 0;
}`