From 010d5672bb17f77ed2b168baa30414c7de8d4e75 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Wed, 24 May 2023 16:11:29 -0400 Subject: [PATCH] Fix for FlxSound error; fix typo in Spirit class --- source/funkin/modding/PolymodHandler.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/source/funkin/modding/PolymodHandler.hx b/source/funkin/modding/PolymodHandler.hx index 08b070835..bb8f88bc5 100644 --- a/source/funkin/modding/PolymodHandler.hx +++ b/source/funkin/modding/PolymodHandler.hx @@ -164,6 +164,7 @@ class PolymodHandler // Add import aliases for certain classes. // NOTE: Scripted classes are automatically aliased to their parent class. Polymod.addImportAlias('flixel.math.FlxPoint', flixel.math.FlxPoint.FlxBasePoint); + Polymod.addImportAlias('flixel.system.FlxSound', flixel.sound.FlxSound); // Add blacklisting for prohibited classes and packages. // `polymod.*`