diff --git a/project.hxp b/project.hxp index 93585eb7d..973ca7922 100644 --- a/project.hxp +++ b/project.hxp @@ -819,7 +819,7 @@ class Project extends HXProject { addHaxelib('funkin.haptic'); // Haptic feedback - addHaxelib('funkin.haptic'); // Haptic feedback + addHaxelib('extension-haptics'); // Haptic feedback if (FEATURE_PARTIAL_SOUNDS.isEnabled(this)) { diff --git a/source/funkin/InitState.hx b/source/funkin/InitState.hx index 94137b0d1..53160ef44 100644 --- a/source/funkin/InitState.hx +++ b/source/funkin/InitState.hx @@ -91,7 +91,7 @@ class InitState extends FlxState #end // Setup Haptic feedback - funkin.haptic.Haptic.initialize(); + extension.haptics.Haptic.initialize(); #if FEATURE_ADMOB_ADS // Setup Admob diff --git a/source/funkin/mobile/util/AdMobUtil.hx b/source/funkin/mobile/util/AdMobUtil.hx index 6beb307a0..6b7da24f5 100644 --- a/source/funkin/mobile/util/AdMobUtil.hx +++ b/source/funkin/mobile/util/AdMobUtil.hx @@ -86,7 +86,7 @@ class AdMobUtil */ public static function init():Void { - Admob.onStatus.add(function(event:String, message:String):Void { + Admob.onEvent.add(function(event:String, message:String):Void { switch (event) { case AdmobEvent.INTERSTITIAL_LOADED: diff --git a/source/funkin/util/HapticUtil.hx b/source/funkin/util/HapticUtil.hx index 554f5f435..b1100758f 100644 --- a/source/funkin/util/HapticUtil.hx +++ b/source/funkin/util/HapticUtil.hx @@ -2,7 +2,7 @@ package funkin.util; import flixel.tweens.FlxTween; import flixel.math.FlxMath; -import funkin.haptic.Haptic; +import extension.haptics.Haptic; /** * Utility class for extra vibration functions.