mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-24 22:26:50 +00:00
a516e9199f
Calls intended for `ArrayTools.clone` were being routed to `DynamicTools.clone` due to the order of `using` statements in `imports.hx`. This caused the pause menu to break due to arrays becoming fubar (missing length property). Using `DynamicTools` is a little dangerous, so remove it in favor of calling `Reflect.copy` directly.
25 lines
730 B
Haxe
25 lines
730 B
Haxe
package;
|
|
|
|
#if !macro
|
|
// Only import these when we aren't in a macro.
|
|
import funkin.util.Constants;
|
|
import funkin.Paths;
|
|
import funkin.Preferences;
|
|
import flixel.FlxG; // This one in particular causes a compile error if you're using macros.
|
|
import flixel.system.debug.watch.Tracker;
|
|
|
|
// These are great.
|
|
using Lambda;
|
|
using StringTools;
|
|
using funkin.util.tools.ArraySortTools;
|
|
using funkin.util.tools.ArrayTools;
|
|
using funkin.util.tools.FloatTools;
|
|
using funkin.util.tools.Int64Tools;
|
|
using funkin.util.tools.IntTools;
|
|
using funkin.util.tools.IteratorTools;
|
|
using funkin.util.tools.MapTools;
|
|
using funkin.util.tools.SongEventDataArrayTools;
|
|
using funkin.util.tools.SongNoteDataArrayTools;
|
|
using funkin.util.tools.StringTools;
|
|
#end
|